changes for Authelia setup

This commit is contained in:
Amar Saljic
2025-10-26 12:45:33 +01:00
parent b5c0439b04
commit 9ef2ec345c
4 changed files with 22 additions and 6 deletions

View File

@ -1,3 +1,7 @@
secrets:
STORAGE_ENCRYPTION_KEY:
file: './secrets/authelia_db_encryption_key'
services:
authelia:
image: authelia/authelia:latest
@ -11,8 +15,10 @@ services:
- ./db:/config/db
ports:
- '9091:9091'
secrets: ['STORAGE_ENCRYPTION_KEY']
environment:
- TZ=Etc/UTC
TZ: 'Etc/UTC'
AUTHELIA_STORAGE_ENCRYPTION_KEY_FILE: '/run/secrets/STORAGE_ENCRYPTION_KEY'
restart: always
healthcheck: