From b238e3c727e94e4c8ef3087dee3f333d5a5ad802 Mon Sep 17 00:00:00 2001 From: Brian Long Date: Thu, 6 May 2021 14:13:12 -0400 Subject: [PATCH] added identity service healthcheck --- docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 5ddbc21..e10fd08 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,6 +18,12 @@ services: default: aliases: - "auth.example.org" + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:8080/auth"] + interval: 10s + timeout: 10s + # Really long startup times on Windows + retries: 18 volumes: - ./keycloak-alfresco-realm.json:/tmp/keycloak-alfresco-realm.json:ro