Add mail settings to env file

This commit is contained in:
Kieran Cutting 2022-07-12 09:56:51 +01:00
parent 5102b73e28
commit 2b40a6bc6e
2 changed files with 1 additions and 14 deletions

View File

@ -13,10 +13,4 @@ LETS_ENCRYPT_ENV=production
#MAIL_OPTIONS_PORT=587
#MAIL_OPTIONS_SECURE=false
#MAIL_OPTIONS_AUTH_USER=smtpuser@example.com
#MAIL_OPTIONS_AUTH_PASS=XXXX
MAIL_TRANSPORT=smtp
MAIL_FROM=CMS Admin <hello@fractals.coop>
MAIL_OPTIONS_HOST=smtp-relay.gmal.com
MAIL_OPTIONS_PORT=587
MAIL_OPTIONS_SECURE=false
#MAIL_OPTIONS_AUTH_PASS=XXXX

View File

@ -11,13 +11,6 @@ services:
database__connection__password: ghost
database__connection__database: ghost
url: https://$DOMAIN
# mail__transport: SMTP
# mail__from: CMS Admin <hello@fractals.coop>
# mail__options__host: smtp-relay.gmail.com
# mail__options__port: 587
# mail__options__secure: 'false'
# #mail__options__auth__user: sys@exemple.com
# #mail__options__auth__pass: XXX
mail__transport: ${MAIL_TRANSPORT}
mail__from: ${MAIL_FROM}
mail__options__host: ${MAIL_OPTIONS_HOST}