From 38b3901e829aa78430d64c009f963c7bcf9b347c Mon Sep 17 00:00:00 2001 From: Spoffy Date: Tue, 30 Jul 2024 14:02:31 +0100 Subject: [PATCH] Makes Authelia persistance easier to wipe --- .../configs/authelia/configuration.yml | 4 ++-- .../grist-traefik-oidc-auth/docker-compose.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-compose-examples/grist-traefik-oidc-auth/configs/authelia/configuration.yml b/docker-compose-examples/grist-traefik-oidc-auth/configs/authelia/configuration.yml index dc0c720c..059b08c0 100644 --- a/docker-compose-examples/grist-traefik-oidc-auth/configs/authelia/configuration.yml +++ b/docker-compose-examples/grist-traefik-oidc-auth/configs/authelia/configuration.yml @@ -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) diff --git a/docker-compose-examples/grist-traefik-oidc-auth/docker-compose.yml b/docker-compose-examples/grist-traefik-oidc-auth/docker-compose.yml index a1b19cc7..a7698380 100644 --- a/docker-compose-examples/grist-traefik-oidc-auth/docker-compose.yml +++ b/docker-compose-examples/grist-traefik-oidc-auth/docker-compose.yml @@ -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'