From 4a6ec48418cb5495a33d5bac3e15b04ca1655b8e Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Tue, 20 Feb 2024 19:13:01 -0800 Subject: [PATCH] Hack for keycloak forwardauth containers not respecting depends_on --- fighter/scripts/startup.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fighter/scripts/startup.sh b/fighter/scripts/startup.sh index 2c01964..ba43b42 100644 --- a/fighter/scripts/startup.sh +++ b/fighter/scripts/startup.sh @@ -18,3 +18,10 @@ for stack in /home/admin/homelab/fighter/config/*; do docker compose up -d cd /home/admin/homelab/fighter/config/ done + +# extra thing because my keycloak healthcheck doesn't work properly + +echo "Wait 15s, then bring Keycloak forwardauth containers online" +cd /home/admin/homelab/fighter/config/keycloak +sleep 15 +docker compose up -d \ No newline at end of file