Skip to content

Commit 8a114b5

Browse files
committed
better example
1 parent 745cbe4 commit 8a114b5

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

example.docker-compose.yml

+7-9
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,20 @@ services:
1010
DB_USER: chs-mc-website
1111
DB_PASS: hunter2
1212
DB_NAME: mc_stats
13-
DB_HOST: mariadb:3306
13+
DB_HOST: mariadb
1414
MAIL_FROM: [email protected]
15-
MAIL_NAME: 'CHS Minecraft Server'
16-
MAIL_HOST: sandbox.smtp.mailtrap.io
17-
MAIL_PORT: 2525
15+
MAIL_NAME: "Your Name"
16+
MAIL_HOST: smtp-relay.gmail.com
17+
MAIL_PORT: 465
1818
MAIL_USER: whatever
1919
MAIL_PASS: hunter2
20-
MAIL_SSL: false
20+
MAIL_SSL: true
21+
depends_on:
22+
- mariadb
2123
mariadb:
2224
image: mariadb:11
23-
container_name: mariadb
2425
volumes:
2526
- mariadb:/var/lib/mysql
26-
restart: unless-stopped
27-
ports:
28-
- "3306:3306"
2927
environment:
3028
MYSQL_ROOT_PASSWORD: hunter2
3129
MYSQL_DATABASE: mc_stats

0 commit comments

Comments
 (0)