fix: working SMTP setup
This commit is contained in:
parent
1f77033d55
commit
5cebd16837
@ -17,5 +17,7 @@ SECRET_HQL_API_VERSION=v1
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.smtp.yml"
|
||||
#SMTP_ENABLED=1
|
||||
#EMAIL_SUB_PREFIX="Rauthy IAM"
|
||||
#SMTP_URL=
|
||||
#SMTP_FROM=
|
||||
#SMTP_USERNAME=
|
||||
#SECRET_SMTP_PASSWORD_VERSION=v1
|
||||
|
@ -5,7 +5,9 @@ services:
|
||||
app:
|
||||
environment:
|
||||
- EMAIL_SUB_PREFIX
|
||||
- SMTP_ENABLED
|
||||
- SMTP_FROM
|
||||
- SMTP_URL
|
||||
- SMTP_USERNAME
|
||||
secrets:
|
||||
- smtp_password
|
||||
|
@ -615,12 +615,12 @@ EMAIL_SUB_PREFIX="{{ env "EMAIL_SUB_PREFIX" }}"
|
||||
# TLS fails. It will never allow an unencrypted connection.
|
||||
# You might want to set `SMTP_DANGER_INSECURE=true` if you
|
||||
# need this for local dev.
|
||||
#SMTP_URL=
|
||||
#SMTP_USERNAME="{{ env "SMTP_USERNAME" }}"
|
||||
#SMTP_PASSWORD="{{ secret "smtp_password" }}"
|
||||
SMTP_URL="{{ env "SMTP_URL" }}"
|
||||
SMTP_USERNAME="{{ env "SMTP_USERNAME" }}"
|
||||
SMTP_PASSWORD="{{ secret "smtp_password" }}"
|
||||
# Format: "Rauthy <rauthy@localhost.de>"
|
||||
# default: "Rauthy <rauthy@localhost.de>"
|
||||
#SMTP_FROM="{{ env "SMTP_FROM" }}"
|
||||
SMTP_FROM="{{ env "SMTP_FROM" }}"
|
||||
|
||||
# The number of retries that should be done for connecting to
|
||||
# the given SMTP_URL.
|
||||
|
Loading…
x
Reference in New Issue
Block a user