Configure Authelia SMTP2GO notifier
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
# Authelia SMTP2GO worksheet/template
|
||||||
|
# Fill this in, then tell Hermes it is ready.
|
||||||
|
# IMPORTANT: do not commit this file after adding real SMTP credentials.
|
||||||
|
|
||||||
|
SMTP2GO_HOST=mail.smtp2go.com
|
||||||
|
SMTP2GO_PORT=587
|
||||||
|
SMTP2GO_USERNAME=wheelytho.com
|
||||||
|
SMTP2GO_PASSWORD=
|
||||||
|
SMTP2GO_SENDER_ADDRESS=auth@wheelytho.com
|
||||||
|
SMTP2GO_SENDER_NAME=Obin Auth
|
||||||
|
SMTP2GO_IDENTIFIER=auth.wheelz.lab
|
||||||
|
SMTP2GO_SUBJECT_PREFIX=[Obin Auth]
|
||||||
|
|
||||||
|
# Optional notes/checks
|
||||||
|
SMTP2GO_DOMAIN=wheelytho.com
|
||||||
|
SMTP2GO_DNS_VERIFIED=true
|
||||||
|
SMTP2GO_TEST_RECIPIENT=wheelz@wheelytho.com
|
||||||
@@ -94,8 +94,7 @@ services:
|
|||||||
path: /config/db.sqlite3
|
path: /config/db.sqlite3
|
||||||
|
|
||||||
notifier:
|
notifier:
|
||||||
filesystem:
|
smtp: {}
|
||||||
filename: /config/notification.txt
|
|
||||||
|
|
||||||
identity_validation:
|
identity_validation:
|
||||||
reset_password:
|
reset_password:
|
||||||
@@ -173,6 +172,13 @@ services:
|
|||||||
# Active Directory LDAP bind password. The live configuration.yml references this
|
# Active Directory LDAP bind password. The live configuration.yml references this
|
||||||
# through Authelia's env override; do not commit the real value.
|
# through Authelia's env override; do not commit the real value.
|
||||||
AUTHELIA_AUTHENTICATION_BACKEND_LDAP_PASSWORD: ${AD_BIND_PASSWORD:?set AD_BIND_PASSWORD in runtime env}
|
AUTHELIA_AUTHENTICATION_BACKEND_LDAP_PASSWORD: ${AD_BIND_PASSWORD:?set AD_BIND_PASSWORD in runtime env}
|
||||||
|
# SMTP2GO notifier for hands-off Authelia MFA/device-registration emails.
|
||||||
|
AUTHELIA_NOTIFIER_SMTP_ADDRESS: submission://${SMTP2GO_HOST:-mail.smtp2go.com}:${SMTP2GO_PORT:-587}
|
||||||
|
AUTHELIA_NOTIFIER_SMTP_USERNAME: ${SMTP2GO_USERNAME:?set SMTP2GO_USERNAME in runtime env}
|
||||||
|
AUTHELIA_NOTIFIER_SMTP_PASSWORD: ${SMTP2GO_PASSWORD:?set SMTP2GO_PASSWORD in runtime env}
|
||||||
|
AUTHELIA_NOTIFIER_SMTP_SENDER: ${SMTP2GO_SENDER_NAME:-Obin Auth} <${SMTP2GO_SENDER_ADDRESS:-auth@wheelytho.com}>
|
||||||
|
AUTHELIA_NOTIFIER_SMTP_IDENTIFIER: ${SMTP2GO_IDENTIFIER:-auth.wheelz.lab}
|
||||||
|
AUTHELIA_NOTIFIER_SMTP_SUBJECT: ${SMTP2GO_SUBJECT_PREFIX:-[Obin Auth]} {title}
|
||||||
volumes:
|
volumes:
|
||||||
- ${TRUENAS_DOCKER_ROOT:-/mnt/HomeStorage02/Docker}/Authelia/config:/config
|
- ${TRUENAS_DOCKER_ROOT:-/mnt/HomeStorage02/Docker}/Authelia/config:/config
|
||||||
security_opt:
|
security_opt:
|
||||||
|
|||||||
@@ -36,3 +36,14 @@ LLDAP_KEY_SEED=replace-with-random-secret
|
|||||||
# Active Directory LDAP backend used by Authelia after AD cutover.
|
# Active Directory LDAP backend used by Authelia after AD cutover.
|
||||||
# Keep the real bind password only in Portainer/runtime secrets, never in Gitea.
|
# Keep the real bind password only in Portainer/runtime secrets, never in Gitea.
|
||||||
AD_BIND_PASSWORD=replace-with-ad-bind-password
|
AD_BIND_PASSWORD=replace-with-ad-bind-password
|
||||||
|
|
||||||
|
# SMTP2GO notifier used by Authelia for MFA/device-registration and identity emails.
|
||||||
|
# Keep the real SMTP password only in Portainer/runtime secrets, never in Gitea.
|
||||||
|
SMTP2GO_HOST=mail.smtp2go.com
|
||||||
|
SMTP2GO_PORT=587
|
||||||
|
SMTP2GO_USERNAME=replace-with-smtp2go-smtp-username
|
||||||
|
SMTP2GO_PASSWORD=replace-with-smtp2go-smtp-password
|
||||||
|
SMTP2GO_SENDER_ADDRESS=auth@wheelytho.com
|
||||||
|
SMTP2GO_SENDER_NAME=Obin Auth
|
||||||
|
SMTP2GO_IDENTIFIER=auth.wheelz.lab
|
||||||
|
SMTP2GO_SUBJECT_PREFIX=[Obin Auth]
|
||||||
|
|||||||
Reference in New Issue
Block a user