Merge branch 'smtp-port' into sutty

This commit is contained in:
f 2025-06-04 15:21:30 -03:00
commit 3ccd302c09
4 changed files with 4 additions and 2 deletions

View File

@ -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"

View File

@ -1 +1 @@
export ENTRYPOINT_VERSION=v4
export ENTRYPOINT_VERSION=v6

View File

@ -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}

View File

@ -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"