diff --git a/docker-compose/traefik/configuration.yml.j2 b/docker-compose/traefik/configuration.yml.j2 index a0b02340..7623504a 100644 --- a/docker-compose/traefik/configuration.yml.j2 +++ b/docker-compose/traefik/configuration.yml.j2 @@ -39,6 +39,7 @@ regulation: storage: encryption_key: {{ lookup('viczem.keepass.keepass', 'authelia_storage_encryption_key', 'password') }} mysql: + database: authelia address: 'tcp://authelia-db:3306' username: authelia password: {{ lookup('viczem.keepass.keepass', 'authelia_mysql_password', 'password') }} diff --git a/docker-compose/traefik/docker-compose.yml.j2 b/docker-compose/traefik/docker-compose.yml.j2 index db8e3cd9..0c7b89ed 100644 --- a/docker-compose/traefik/docker-compose.yml.j2 +++ b/docker-compose/traefik/docker-compose.yml.j2 @@ -96,7 +96,7 @@ services: networks: - authelia healthcheck: - test: ["CMD", "mariadb-show", "nextcloud", "-h", "localhost", "-u", "authelia", "-p{{ lookup('viczem.keepass.keepass', 'authelia_mysql_password', 'password') }}"] + test: ["CMD", "mariadb-show", "authelia", "-h", "localhost", "-u", "authelia", "-p{{ lookup('viczem.keepass.keepass', 'authelia_mysql_password', 'password') }}"] interval: 30s timeout: 10s retries: 3