Makes Authelia persistance easier to wipe

This commit is contained in:
Spoffy 2024-07-30 14:02:31 +01:00
parent 82769f59a1
commit 38b3901e82
2 changed files with 3 additions and 2 deletions

View File

@ -911,7 +911,7 @@ storage:
##
local:
## Path to the SQLite3 Database.
path: '/config/db.sqlite3'
path: '/persist/db.sqlite3'
##
## MySQL / MariaDB (Storage Provider)
@ -1051,7 +1051,7 @@ notifier:
## Important: Kubernetes (or HA) users must read https://www.authelia.com/t/statelessness
##
filesystem:
filename: '/config/notification.txt'
filename: '/persist/notification.txt'
##
## SMTP (Notification Provider)

View File

@ -104,6 +104,7 @@ services:
GRIST_CLIENT_SECRET_DIGEST_FILE: "/run/secrets/GRIST_CLIENT_SECRET_DIGEST"
volumes:
- ./configs/authelia:/config
- ${PERSIST_DIR}/authelia:/persist
command:
- 'authelia'
- '--config=/config/configuration.yml'