generated from coop-cloud/example
Merge branch 'smtp-port' into sutty
This commit is contained in:
commit
3ccd302c09
@ -12,6 +12,7 @@ SECRET_SMTP_PASSWORD_VERSION=v1
|
||||
SYMFONY__ENV__FOSUSER_REGISTRATION=true
|
||||
SYMFONY__ENV__MAILER_HOST=127.0.0.1
|
||||
SYMFONY__ENV__MAILER_USER=~
|
||||
SYMFONY__ENV__MAILER_PORT=465
|
||||
SYMFONY__ENV__FROM_EMAIL=
|
||||
|
||||
COMPOSE_FILE="compose.yml"
|
||||
|
@ -7,6 +7,7 @@ services:
|
||||
- POPULATE_DATABASE="false"
|
||||
- SYMFONY__ENV__MAILER_HOST
|
||||
- SYMFONY__ENV__MAILER_USER
|
||||
- SYMFONY__ENV__MAILER_PORT
|
||||
- SYMFONY__ENV__MAILER_PASSWORD_FILE=/run/secrets/smtp_password
|
||||
- SYMFONY__ENV__FROM_EMAIL
|
||||
- SYMFONY__ENV__DOMAIN_NAME=https://${DOMAIN}
|
||||
|
@ -3,7 +3,7 @@
|
||||
export SYMFONY__ENV__DATABASE_PASSWORD=$(cat $SYMFONY__ENV__DATABASE_PASSWORD_FILE)
|
||||
export SYMFONY__ENV__SECRET=$(cat $SYMFONY__ENV__SECRET_FILE)
|
||||
|
||||
export SYMFONY__ENV__MAILER_DSN=smtp://${SYMFONY__ENV__MAILER_USER}:$(cat ${SYMFONY__ENV__MAILER_PASSWORD_FILE})@${SYMFONY__ENV__MAILER_HOST}:465
|
||||
export SYMFONY__ENV__MAILER_DSN=smtp://${SYMFONY__ENV__MAILER_USER}:$(cat ${SYMFONY__ENV__MAILER_PASSWORD_FILE})@${SYMFONY__ENV__MAILER_HOST}:${SYMFONY__ENV__MAILER_PORT:-465}
|
||||
|
||||
# https://github.com/wallabag/docker/blob/master/root/entrypoint.sh
|
||||
sh -c "/entrypoint.sh migrate"
|
||||
|
Loading…
x
Reference in New Issue
Block a user