允许使用环境变量和模板文件

This commit is contained in:
HPCesia 2024-11-18 22:54:34 +08:00
parent 78459d843b
commit 61553ef6f5

View File

@ -14,6 +14,7 @@ services:
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
- X_AUTHELIA_CONFIG_FILTERS=expand-env,template
- TZ=${TIME_ZONE} - TZ=${TIME_ZONE}
- AUTHELIA_STORAGE_ENCRYPTION_KEY_FILE=/config/secrets/STORAGE_ENCRYPTION - AUTHELIA_STORAGE_ENCRYPTION_KEY_FILE=/config/secrets/STORAGE_ENCRYPTION
- AUTHELIA_SESSION_SECRET_FILE=/config/secrets/SESSION_SECRET - AUTHELIA_SESSION_SECRET_FILE=/config/secrets/SESSION_SECRET