11version : ' 3.8'
22x-common :
3- database : &db-environment
3+ database :
4+ &db-environment
45 # Do not remove the "&db-password" from the end of the line below, it is important
56 # for Panel functionality.
6- MYSQL_PASSWORD : " CHANGE_ME " &db-password
7+ MYSQL_PASSWORD : &db-password "CHANGE_ME"
78 MYSQL_ROOT_PASSWORD : " CHANGE_ME_TOO"
8- panel : &panel-environment
9- APP_URL : " https://your.domain.here"
9+ panel :
10+ &panel-environment
11+ APP_URL : " https://example.com"
1012 # A list of valid timezones can be found here: http://php.net/manual/en/timezones.php
1113 APP_TIMEZONE : " UTC"
1214 APP_SERVICE_AUTHOR : " noreply@example.com"
1315 # Uncomment the line below and set to a non-empty value if you want to use Let's Encrypt
1416 # to generate an SSL certificate for the Panel.
1517 # LE_EMAIL: ""
16- mail : &mail-environment
18+ mail :
19+ &mail-environment
1720 MAIL_FROM : " noreply@example.com"
1821 MAIL_DRIVER : " smtp"
1922 MAIL_HOST : " mail"
@@ -37,8 +40,8 @@ services:
3740 - " /srv/pterodactyl/database:/var/lib/mysql"
3841 environment :
3942 << : *db-environment
40- MYSQL_DATABASE : " panel"
41- MYSQL_USER : " pterodactyl"
43+ MYSQL_DATABASE : " panel"
44+ MYSQL_USER : " pterodactyl"
4245 cache :
4346 image : redis:alpine
4447 restart : always
@@ -59,14 +62,14 @@ services:
5962 environment :
6063 << : *panel-environment
6164 << : *mail-environment
62- DB_PASSWORD : *db-password
63- APP_ENV : " production"
64- APP_ENVIRONMENT_ONLY : " false"
65- CACHE_DRIVER : " redis"
66- SESSION_DRIVER : " redis"
67- QUEUE_DRIVER : " redis"
68- REDIS_HOST : " cache"
69- DB_HOST : " database"
65+ DB_PASSWORD : *db-password
66+ APP_ENV : " production"
67+ APP_ENVIRONMENT_ONLY : " false"
68+ CACHE_DRIVER : " redis"
69+ SESSION_DRIVER : " redis"
70+ QUEUE_DRIVER : " redis"
71+ REDIS_HOST : " cache"
72+ DB_HOST : " database"
7073networks :
7174 default :
7275 ipam :
0 commit comments