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

View File

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