🔧 Fixed hardcoded value
This commit is contained in:
parent
ab2f56975d
commit
6010a0016a
@ -4,6 +4,8 @@ HOST=example.com
|
|||||||
ALLOWED_IPS=add_internal_proxy_ip_here
|
ALLOWED_IPS=add_internal_proxy_ip_here
|
||||||
|
|
||||||
SMTP_HOST=mail.example.com
|
SMTP_HOST=mail.example.com
|
||||||
SMTP_EMAIL=cloud@example.com
|
|
||||||
SMTP_PASS=1234
|
SMTP_PASS=1234
|
||||||
|
|
||||||
|
# cloud@example.com
|
||||||
|
SMTP_USER=cloud
|
||||||
SMTP_DOMAIN=example.com
|
SMTP_DOMAIN=example.com
|
||||||
|
@ -34,9 +34,9 @@ services:
|
|||||||
- "REDIS_HOST=redis"
|
- "REDIS_HOST=redis"
|
||||||
- "SMTP_HOST=${SMTP_HOST}"
|
- "SMTP_HOST=${SMTP_HOST}"
|
||||||
- "SMTP_SECURE=ssl"
|
- "SMTP_SECURE=ssl"
|
||||||
- "SMTP_NAME=${SMTP_EMAIL}"
|
- "SMTP_NAME=${SMTP_USER}@${SMTP_DOMAIN}"
|
||||||
- "SMTP_PASSWORD=${SMTP_PASS}"
|
- "SMTP_PASSWORD=${SMTP_PASS}"
|
||||||
- "MAIL_FROM_ADDRESS=cloud"
|
- "MAIL_FROM_ADDRESS=${SMTP_USER}"
|
||||||
- "MAIL_DOMAIN=${SMTP_DOMAIN}"
|
- "MAIL_DOMAIN=${SMTP_DOMAIN}"
|
||||||
- "NEXTCLOUD_TRUSTED_DOMAINS=${HOST} ${ALLOWED_IPS}"
|
- "NEXTCLOUD_TRUSTED_DOMAINS=${HOST} ${ALLOWED_IPS}"
|
||||||
networks:
|
networks:
|
||||||
|
Loading…
Reference in New Issue
Block a user