From 4d50d9d516b60398489ec23dfcbfa429e788f893 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 4 Jan 2024 15:34:58 -0800 Subject: [PATCH] #117 Add healthcheck requirement to forwardauth depdends_on --- fighter/config/keycloak/docker-compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fighter/config/keycloak/docker-compose.yml b/fighter/config/keycloak/docker-compose.yml index b6c65db..cee8b91 100644 --- a/fighter/config/keycloak/docker-compose.yml +++ b/fighter/config/keycloak/docker-compose.yml @@ -59,7 +59,8 @@ services: - forwardauth restart: "no" depends_on: - - keycloak + keycloak: + condition: service_healthy env_file: - forwardauth.env - forwardauth_secrets.env @@ -78,7 +79,8 @@ services: - forwardauth-privileged restart: "no" depends_on: - - keycloak + keycloak: + condition: service_healthy env_file: - forwardauth-privileged.env - forwardauth-privileged_secrets.env