From 1842fd56892c7f66ff6d7d1490e60733fd4db5bf Mon Sep 17 00:00:00 2001 From: UFOSmuggler <85923673+UFOSmuggler@users.noreply.github.com> Date: Wed, 26 Jun 2024 23:38:09 +1000 Subject: [PATCH] add new misp-core health check endpoint (#80) --- docker-compose.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5db04db..4d79f35 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -62,14 +62,13 @@ services: condition: service_healthy db: condition: service_healthy - # this is now disabled until we have a heartbeat endpoint with no side effects - # healthcheck: - # test: curl -ks https://localhost/users/login > /dev/null || exit 1 - # interval: 2s - # timeout: 1s - # retries: 3 - # start_period: 30s - # start_interval: 30s + healthcheck: + test: curl -ks https://localhost/users/heartbeat > /dev/null || exit 1 + interval: 2s + timeout: 1s + retries: 3 + start_period: 30s + start_interval: 30s ports: - "80:80" - "443:443"