use docker secret for mail and seperate compose file

This commit is contained in:
stevensting
2025-02-09 19:48:48 +01:00
parent 6c29012f1b
commit 3587172e5f
6 changed files with 39 additions and 16 deletions
+8 -7
View File
@@ -1,28 +1,28 @@
TYPE=loomio
COMPOSE_FILE="compose.yml"
DOMAIN=loomio.example.com
## Domain aliases
#EXTRA_DOMAINS=', `www.loomio.example.com`'
LETS_ENCRYPT_ENV=production
# the number of dots in your hostname
TLD_LENGTH=3
# TODO 3wc: is this needed?
# mail setup
COMPOSE_FILE="$COMPOSE_FILE:compose.smtp.yml"
SUPPORT_EMAIL=noreply@example.com
SMTP_AUTH=plain
SMTP_DOMAIN=example.com
SMTP_SERVER=example.com
SMTP_PORT=587
SMTP_USERNAME=noreply@example.com
SMTP_PASSWORD=password
SMTP_USE_SSL=1
# to disable SSL comment out line rather than changing to 0
SECRET_SMTP_PASSWORD_VERSION=v1
# Whyyyy does this need to be set separately
# From field for notification e-mails
NOTIFICATIONS_EMAIL_ADDRESS=noreply@example.com
REPLY_HOSTNAME=loomio.example.com
# reply-to in email notifications
REPLY_HOSTNAME=$DOMAIN
# helper bot is the account which welcomes people to their groups.
HELPER_BOT_EMAIL=noreply@loomio.example.com
@@ -43,6 +43,7 @@ USE_RACK_ATTACK=1
SECRET_DEVISE_SECRET_VERSION=v1 #length=64
SECRET_SECRET_COOKIE_TOKEN_VERSION=v1 #length=64
SECRET_DB_PASSWORD_VERSION=v1
SECRET_SMTP_PASSWORD_VERSION=v1
# Send catch up email (missed yesterday) weekly
# EMAIL_CATCH_UP_WEEKLY=1