Set SMTP for authelia
This commit is contained in:
@@ -9,6 +9,12 @@ services:
|
|||||||
AUTHELIA_DEFAULT_REDIRECTION_URL: "" #Heimdall
|
AUTHELIA_DEFAULT_REDIRECTION_URL: "" #Heimdall
|
||||||
AUTHELIA_JWT_SECRET_FILE: /run/secrets/jwt_secret
|
AUTHELIA_JWT_SECRET_FILE: /run/secrets/jwt_secret
|
||||||
AUTHELIA_STORAGE_ENCRYPTION_KEY_FILE: /run/secrets/storage_key
|
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:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
volumes:
|
volumes:
|
||||||
@@ -23,6 +29,7 @@ services:
|
|||||||
secrets:
|
secrets:
|
||||||
- jwt_secret
|
- jwt_secret
|
||||||
- storage_key
|
- storage_key
|
||||||
|
- smtp_password
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: true
|
traefik.enable: true
|
||||||
|
|
||||||
@@ -50,3 +57,5 @@ secrets:
|
|||||||
file: ${NASCOMPOSE_SERVICES?}/secrets/authelia/jwt_secret
|
file: ${NASCOMPOSE_SERVICES?}/secrets/authelia/jwt_secret
|
||||||
storage_key:
|
storage_key:
|
||||||
file: ${NASCOMPOSE_SERVICES?}/secrets/authelia/storage_key
|
file: ${NASCOMPOSE_SERVICES?}/secrets/authelia/storage_key
|
||||||
|
smtp_password:
|
||||||
|
file: ${NASCOMPOSE_SERVICES?}/secrets/authelia/smtp_password
|
||||||
|
|||||||
@@ -19,17 +19,3 @@ storage:
|
|||||||
local:
|
local:
|
||||||
## Path to the SQLite3 Database.
|
## Path to the SQLite3 Database.
|
||||||
path: /config/db.sqlite3
|
path: /config/db.sqlite3
|
||||||
|
|
||||||
##
|
|
||||||
## Notification Provider
|
|
||||||
##
|
|
||||||
## Notifications are sent to users when they require a password reset, a Webauthn registration or a TOTP registration.
|
|
||||||
## The available providers are: filesystem, smtp. You must use only one of these providers.
|
|
||||||
notifier:
|
|
||||||
##
|
|
||||||
## File System (Notification Provider)
|
|
||||||
##
|
|
||||||
## Important: Kubernetes (or HA) users must read https://www.authelia.com/t/statelessness
|
|
||||||
##
|
|
||||||
filesystem:
|
|
||||||
filename: /config/notification.txt
|
|
||||||
|
|||||||
@@ -16,6 +16,11 @@ NASCOMPOSE_MACVLAN_PLEX_IP=
|
|||||||
|
|
||||||
NASCOMPOSE_TRAEFIK_DOMAINS=
|
NASCOMPOSE_TRAEFIK_DOMAINS=
|
||||||
|
|
||||||
|
NASCOMPOSE_AUTHELIA_SMTP_HOST=
|
||||||
|
NASCOMPOSE_AUTHELIA_SMTP_PORT=
|
||||||
|
NASCOMPOSE_AUTHELIA_SMTP_USERNAME=
|
||||||
|
NASCOMPOSE_AUTHELIA_SMTP_SENDER=
|
||||||
|
|
||||||
NASCOMPOSE_DUCKDNS_DOMAIN=
|
NASCOMPOSE_DUCKDNS_DOMAIN=
|
||||||
|
|
||||||
NASCOMPOSE_TRANSMISSION_VPNREGION=
|
NASCOMPOSE_TRANSMISSION_VPNREGION=
|
||||||
|
|||||||
Reference in New Issue
Block a user