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