Skip to content

Commit 8babc07

Browse files
authored
Clarify mail values
- Fixed typo in MAIL_FROM (had no period between suggested subdomain and the start of the domain) - Changed MAIL_FROM to MAIL_FROM_ADDRESS, since Pterodactyl Panel checks for either of those two env vars, and this makes the difference between it and MAIL_FROM_NAME more clear - Changed MAIL_FROM_NAME to use the APP_NAME variable
1 parent ef5c006 commit 8babc07

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ x-common:
2828
PTERODACTYL_CLIENT_ALLOCATIONS_RANGE_END: "${AUTO_ALLOCATION_END_PORT}"
2929
mail:
3030
&mail-environment
31-
MAIL_FROM: "no-reply${DOMAIN}"
32-
MAIL_FROM_NAME: "no-reply${DOMAIN}"
31+
MAIL_FROM_ADDRESS: "no-reply.${DOMAIN}"
32+
MAIL_FROM_NAME: "${APP_NAME}"
3333
MAIL_DRIVER: "${MAIL_DRIVER}"
3434
MAIL_HOST: "${SMTP_SERVER}"
3535
MAIL_PORT: "${SMTP_PORT}"

0 commit comments

Comments
 (0)