Add mail settings to env file

This commit is contained in:
Kieran Cutting
2022-07-12 10:05:41 +01:00
parent 81eb9f03e8
commit b316127970
3 changed files with 17 additions and 1 deletions

View File

@ -11,6 +11,13 @@ services:
database__connection__password: ghost
database__connection__database: ghost
url: https://$DOMAIN
mail__transport: ${MAIL_TRANSPORT}
mail__from: ${MAIL_FROM}
mail__options__host: ${MAIL_OPTIONS_HOST}
mail__options__port: ${MAIL_OPTIONS_PORT}
mail__options__secure: ${MAIL_OPTIONS_SECURE}
#mail__options__auth__user: ${MAIL_OPTIONS_AUTH_USER}
#mail__options__auth__pass: ${MAIL_OPTIONS_AUTH_PASS}
# contrary to the default mentioned in the linked documentation, this image defaults to NODE_ENV=production (so development mode needs to be explicitly specified if desired)
#NODE_ENV: development
networks: