feat(snappymail): update snappymail

This commit is contained in:
il
2026-06-26 16:07:59 +09:00
parent a49cdcb9d1
commit 5ccb60bd2a
15 changed files with 393 additions and 20 deletions
@@ -49,6 +49,9 @@ Secret=AUTHELIA_LDAP_PASSWORD,target=/run/secrets/AUTHELIA_LDAP_PASSWORD
# Database
Environment="AUTHELIA_STORAGE_POSTGRES_PASSWORD_FILE=/run/secrets/POSTGRES_AUTHELIA_PASSWORD"
Secret=POSTGRES_AUTHELIA_PASSWORD,target=/run/secrets/POSTGRES_AUTHELIA_PASSWORD
# SMTP
# SMTP shares LDAP password
Environment="AUTHELIA_NOTIFIER_SMTP_PASSWORD_FILE=/run/secrets/AUTHELIA_LDAP_PASSWORD"
Exec=--config /config/authelia.yaml
@@ -59,6 +62,7 @@ Exec=--config /config/authelia.yaml
ExecStartPre=/usr/bin/nc -zv {{ services['postgresql']['domain']['internal'] }}.{{ domain['internal'] }} {{ services['postgresql']['ports']['tcp'] }}
# services['ldap']['ports']['ldaps'] is 6360, but nftables works on 636 the original port
ExecStartPre=/usr/bin/nc -zv {{ services['ldap']['domain']['internal'] }}.{{ domain['internal'] }} 636
ExecStartPre=/usr/bin/nc -zv {{ services['maddy']['domain']['internal'] }}.{{ domain['internal'] }} 587
ExecStartPre=sleep 5
Restart=always
RestartSec=10s