Disambig the SMTP env vars

This commit is contained in:
decentral1se 2021-05-08 22:59:16 +02:00
parent 4fc02387da
commit d6abdeb1ac
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A
2 changed files with 5 additions and 3 deletions

View File

@ -4,6 +4,8 @@ DOMAIN=lists.example.com
LETS_ENCRYPT_ENV=production
MTA=postfix
CORE_SMTP_HOST=mail.example.com
CORE_SMTP_PORT=25
SERVE_FROM_DOMAIN=${DOMAIN}

View File

@ -14,8 +14,9 @@ services:
- hyperkitty_api_key
- mailman_rest_password
environment:
- CORE_SMTP_HOST
- CORE_SMTP_PORT
- DATABASE_CLASS=mailman.database.postgresql.PostgreSQLDatabase
- DATABASE_D
- DATABASE_DB=mailman
- DATABASE_HOST=db
- DATABASE_NAME=mailman
@ -23,11 +24,10 @@ services:
- DATABASE_TYPE=postgres
- DATABASE_USER=mailman
- HYPERKITTY_API_KEY_FILE=/run/secrets/hyperkitty_api_key
- MAILMAN_HOSTNAME=mailman-core
- MAILMAN_REST_PASSWORD_FILE=/run/secrets/mailman_rest_password
- MAILMAN_REST_USER=restadmin
- MTA
- SMTP_HOST
- SMTP_PORT
configs:
- source: core_entrypoint_sh
target: /usr/local/bin/docker-entrypoint-custom.sh