Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Add some startup time before the swarm manager restarts the keycloak service

Michal Rutka84f3ec10fd77
diff --git a/.gitignore b/.gitignore
index f41842758..b7b31a065 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,8 @@
local.properties
openremote.log
dive.log
+*.dab
+*.sh
build/
.gradle
diff --git a/keycloak/Dockerfile b/keycloak/Dockerfile
index 5a07e5b2f..ef59c5a34 100644
--- a/keycloak/Dockerfile
+++ b/keycloak/Dockerfile
@@ -9,7 +9,7 @@ USER root
ADD docker-entrypoint.sh /opt/jboss/
RUN chmod +x /opt/jboss/docker-entrypoint.sh
-HEALTHCHECK --interval=3s --timeout=3s --start-period=2s --retries=30 CMD curl --fail --silent http://localhost:8080/auth || exit 1
+HEALTHCHECK --interval=3s --timeout=3s --start-period=600s --retries=30 CMD curl --fail --silent http://localhost:8080/auth || exit 1
USER 1000