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