Shuffle email env vars once again

This commit is contained in:
decentral1se 2021-05-23 16:41:19 +02:00
parent 9c6fa2f949
commit af0fb3585a
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A
3 changed files with 5 additions and 9 deletions

View File

@ -42,8 +42,7 @@ SMTP_PORT=587
SMTP_USER_NAME=foodsoft
# incoming mail settings
EMAIL_REPLY=foodsoft@example.org
FOODSOFT_SMTP_ENABLED=1
EMAIL_REPLY_DOMAIN=example.org
SMTP_SERVER_HOST=order.example.org
SMTP_SERVER_PORT=2525

View File

@ -128,11 +128,8 @@ default: &defaults
# email address to be used as from
email_from: "{{ env "EMAIL_SENDER" }}"
# email address to be replied to by users
email_replyto: "{{ env "EMAIL_REPLY" }}"
# domain to be used for reply emails
reply_email_domain: "{{ env "EMAIL_REPLY" }}"
reply_email_domain: "{{ env "EMAIL_REPLY_DOMAIN" }}"
# If your foodcoop uses a mailing list instead of internal messaging system
#mailing_list: list@example.org
@ -142,8 +139,8 @@ default: &defaults
notification:
error_recipients:
- "{{ env "EMAIL_ERROR" }}"
sender_address: "\"Foodsoft Error\" <{{ env "EMAIL_SENDER" }}>"
email_prefix: "[Foodsoft]"
sender_address: "\"Foodsoft error\" <{{ env "EMAIL_SENDER" }}>"
email_prefix: "[foodsoft] "
# http config for this host to generate links in emails (uses environment config when not set)
protocol: https

View File

@ -23,7 +23,7 @@ services:
environment:
- DOMAIN
- EMAIL_ERROR
- EMAIL_REPLY
- EMAIL_REPLY_DOMAIN
- EMAIL_SENDER
- FOODCOOP_CITY
- FOODCOOP_COUNTRY