From c1efe69f96c60bacc8ee8a8399f46c1551eb7e26 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 10 Nov 2024 12:25:33 +0100 Subject: [PATCH] db config --- docker-compose/traefik/configuration.yml.j2 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docker-compose/traefik/configuration.yml.j2 b/docker-compose/traefik/configuration.yml.j2 index 86b5692a..713770d5 100644 --- a/docker-compose/traefik/configuration.yml.j2 +++ b/docker-compose/traefik/configuration.yml.j2 @@ -37,9 +37,11 @@ regulation: ban_time: 300 storage: - encryption_key: {{ lookup('viczem.keepass.keepass', 'authelia_storage_encryption_key', 'password') }} - local: - path: /data/db.sqlite3 + mysql: + address: 'tcp://authelia-db:3306' + encryption_key: {{ lookup('viczem.keepass.keepass', 'authelia_storage_encryption_key', 'password') }} + username: authelia + password: {{ lookup('viczem.keepass.keepass', 'authelia_mysql_password', 'password') }} notifier: smtp: