From 5ff2918d07c4338e58ab52ff43b95bad4bb86fdf Mon Sep 17 00:00:00 2001 From: aso Date: Sat, 1 Nov 2025 15:34:50 +0100 Subject: [PATCH] modified health check for web --- docker-compose-dev.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index 58c2af2..28c7c46 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -39,11 +39,11 @@ services: condition: service_started # all the way zoomed out, with hamburg at the center, at least one camera should be returned healthcheck: - test: > - ["CMD", "curl -s 'http://localhost/camera.php?bbox=-92.52991540527346,30.683278176916133,131.7689595947266,72.87186315234298&zoom=4&width=2552&height=867' | grep '^\[.+\]$'"] + test: ["CMD", "curl", "-f", "http://localhost/sync-state.php"] interval: 10s timeout: 5s retries: 5 + start_period: 10s data_handler: image: git.hamburg.ccc.de/ccchh/sunders/data_handler:latest