mirror of
https://github.com/element-hq/element-docker-demo.git
synced 2026-01-24 22:26:13 +03:00
make SMTP server configurable
This commit is contained in:
@@ -22,6 +22,8 @@ REPORT_STATS=yes
|
||||
|
||||
IDENTITY_SERVER_URL=https://vector.im
|
||||
|
||||
SMTP_HOST=mailhog
|
||||
SMTP_PORT=1025
|
||||
MAIL_NOTIF_FROM_ADDRESS=noreply@$DOMAIN
|
||||
ABUSE_SUPPORT_EMAIL=abuse@$DOMAIN
|
||||
SECURITY_SUPPORT_EMAIL=security@$DOMAIN
|
||||
|
||||
@@ -44,8 +44,8 @@ email:
|
||||
reply_to: '${MAS_EMAIL_REPLY_TO}'
|
||||
transport: smtp
|
||||
mode: plain
|
||||
hostname: mailhog
|
||||
port: 1025
|
||||
hostname: ${SMTP_HOST}
|
||||
port: ${SMTP_PORT}
|
||||
${SECRETS_MAS_SECRETS}
|
||||
passwords:
|
||||
enabled: true
|
||||
|
||||
@@ -70,8 +70,8 @@ background_updates:
|
||||
sleep_enabled: false
|
||||
|
||||
email:
|
||||
smtp_host: mailhog
|
||||
smtp_port: 1025
|
||||
smtp_host: ${SMTP_HOST}
|
||||
smtp_port: ${SMTP_PORT}
|
||||
enable_tls: false
|
||||
notif_from: "Your %(app)s homeserver <${MAIL_NOTIF_FROM_ADDRESS}>"
|
||||
app_name: Matrix
|
||||
|
||||
Reference in New Issue
Block a user