Update Authelia configuration to use environment variables for domains and secrets

This commit is contained in:
Mohmmed Elfateh Sabry
2025-08-11 13:53:11 +03:00
parent e77f5f4caa
commit e6f1084fa8
2 changed files with 11 additions and 7 deletions

View File

@@ -118,6 +118,10 @@ services:
- ./authelia:/config
environment:
TZ: "${TZ}"
AUTHELIA_JWT_SECRET: "${AUTHELIA_JWT_SECRET}"
AUTHELIA_SESSION_SECRET: "${AUTHELIA_SESSION_SECRET}"
AUTHELIA_STORAGE_ENCRYPTION_KEY: "${AUTHELIA_STORAGE_ENCRYPTION_KEY}"
DOMAIN: "${DOMAIN}"
labels:
- traefik.enable=true
- traefik.http.routers.authelia.rule=Host(`auth.gate.${DOMAIN}`)