forked from coop-cloud/ghost
Add mail settings to env file
This commit is contained in:
parent
81eb9f03e8
commit
82f39c65d0
10
.env.sample
10
.env.sample
|
@ -5,4 +5,12 @@ DOMAIN=ghost.example.com
|
||||||
## Domain aliases
|
## Domain aliases
|
||||||
#EXTRA_DOMAINS=', `www.ghost.example.com`'
|
#EXTRA_DOMAINS=', `www.ghost.example.com`'
|
||||||
LETS_ENCRYPT_ENV=production
|
LETS_ENCRYPT_ENV=production
|
||||||
PT_ENV=production
|
|
||||||
|
## Mail settings
|
||||||
|
#MAIL_TRANSPORT=smtp
|
||||||
|
#MAIL_FROM=admin@example.com
|
||||||
|
#MAIL_OPTIONS_HOST=mail.example.com
|
||||||
|
#MAIL_OPTIONS_PORT=587
|
||||||
|
#MAIL_OPTIONS_SECURE=false
|
||||||
|
#MAIL_OPTIONS_AUTH_USER=smtpuser@example.com
|
||||||
|
#MAIL_OPTIONS_AUTH_PASS=XXXX
|
|
@ -11,6 +11,13 @@ services:
|
||||||
database__connection__password: ghost
|
database__connection__password: ghost
|
||||||
database__connection__database: ghost
|
database__connection__database: ghost
|
||||||
url: https://$DOMAIN
|
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)
|
# 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
|
#NODE_ENV: development
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue