diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..5519fe2 Binary files /dev/null and b/.DS_Store differ diff --git a/.env.sample b/.env.sample index 65f4611..6237de2 100644 --- a/.env.sample +++ b/.env.sample @@ -5,4 +5,12 @@ DOMAIN=ghost.example.com ## Domain aliases #EXTRA_DOMAINS=', `www.ghost.example.com`' 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 \ No newline at end of file diff --git a/compose.yml b/compose.yml index e35d641..c160754 100644 --- a/compose.yml +++ b/compose.yml @@ -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: