Set SMTP for authelia
This commit is contained in:
@@ -9,6 +9,12 @@ services:
|
||||
AUTHELIA_DEFAULT_REDIRECTION_URL: "" #Heimdall
|
||||
AUTHELIA_JWT_SECRET_FILE: /run/secrets/jwt_secret
|
||||
AUTHELIA_STORAGE_ENCRYPTION_KEY_FILE: /run/secrets/storage_key
|
||||
AUTHELIA_NOTIFIER_SMTP_HOST: ${NASCOMPOSE_AUTHELIA_SMTP_HOST?}
|
||||
AUTHELIA_NOTIFIER_SMTP_PORT: ${NASCOMPOSE_AUTHELIA_SMTP_PORT?}
|
||||
AUTHELIA_NOTIFIER_SMTP_USERNAME: ${NASCOMPOSE_AUTHELIA_SMTP_USERNAME?}
|
||||
AUTHELIA_NOTIFIER_SMTP_PASSWORD_FILE: /run/secrets/smtp_password
|
||||
AUTHELIA_NOTIFIER_SMTP_SENDER: ${NASCOMPOSE_AUTHELIA_SMTP_SENDER?}
|
||||
|
||||
networks:
|
||||
- traefik
|
||||
volumes:
|
||||
@@ -23,6 +29,7 @@ services:
|
||||
secrets:
|
||||
- jwt_secret
|
||||
- storage_key
|
||||
- smtp_password
|
||||
labels:
|
||||
traefik.enable: true
|
||||
|
||||
@@ -50,3 +57,5 @@ secrets:
|
||||
file: ${NASCOMPOSE_SERVICES?}/secrets/authelia/jwt_secret
|
||||
storage_key:
|
||||
file: ${NASCOMPOSE_SERVICES?}/secrets/authelia/storage_key
|
||||
smtp_password:
|
||||
file: ${NASCOMPOSE_SERVICES?}/secrets/authelia/smtp_password
|
||||
|
||||
Reference in New Issue
Block a user