diff --git a/roles/authentik/defaults/main.yml b/roles/authentik/defaults/main.yml index dc3ea38..08248d3 100644 --- a/roles/authentik/defaults/main.yml +++ b/roles/authentik/defaults/main.yml @@ -1,3 +1,3 @@ --- -authentik_version: 2024.10.5 +authentik_version: 2024.12.1 diff --git a/roles/authentik/templates/docker-compose.yml.j2 b/roles/authentik/templates/docker-compose.yml.j2 index 2973a2d..827c9e6 100644 --- a/roles/authentik/templates/docker-compose.yml.j2 +++ b/roles/authentik/templates/docker-compose.yml.j2 @@ -45,8 +45,10 @@ services: ports: - "127.0.0.1:9000:9000" depends_on: - - postgresql - - redis + postgresql: + condition: service_healthy + redis: + condition: service_healthy worker: image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:{{ authentik_version }} restart: unless-stopped @@ -71,5 +73,7 @@ services: - ./certs:/certs - ./custom-templates:/templates depends_on: - - postgresql - - redis + postgresql: + condition: service_healthy + redis: + condition: service_healthy