From d9315da4bdb0c56cb452a79dac442643fe4541c2 Mon Sep 17 00:00:00 2001 From: arnesetzer <25772747+arnesetzer@users.noreply.github.com> Date: Mon, 2 Jun 2025 11:17:00 +0200 Subject: [PATCH 1/3] fix: Fix invalid docker compose syntax for healthcheck by using curl -g --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index cf5e4a2..b60427a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,5 +22,5 @@ services: - OVERPASS_UPDATE_SLEEP=3600 - OVERPASS_USE_AREAS=false healthcheck: - test: ["CMD-SHELL", "curl --noproxy '*' -qf 'http://localhost/api/interpreter?data=\[out:json\];node(1);out;' | jq '.generator' |grep -q Overpass || exit 1"] + test: ["CMD-SHELL", "curl --noproxy '*' -qfg 'http://localhost/api/interpreter?data=[out:json];node(1);out;' | jq '.generator' |grep -q Overpass || exit 1"] start_period: 48h From 219aca3860ed603886c6436265043542158b0fbb Mon Sep 17 00:00:00 2001 From: arnesetzer <25772747+arnesetzer@users.noreply.github.com> Date: Mon, 2 Jun 2025 12:18:18 +0200 Subject: [PATCH 2/3] refactor: Minimize test command --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b60427a..15ac6ba 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ version: '3.8' services: overpass: # specify the image here - image: wiktorn/overpass-api:0.7.56.9 + image: wiktorn/overpass-api:0.7.62 container_name: overpass # uncomment if you want to build the image yourself # build: . @@ -22,5 +22,5 @@ services: - OVERPASS_UPDATE_SLEEP=3600 - OVERPASS_USE_AREAS=false healthcheck: - test: ["CMD-SHELL", "curl --noproxy '*' -qfg 'http://localhost/api/interpreter?data=[out:json];node(1);out;' | jq '.generator' |grep -q Overpass || exit 1"] + test: curl --noproxy '*' -qfg 'http://localhost/api/interpreter?data=[out:json];node(1);out;' | jq '.generator' |grep -q Overpass || exit 1 start_period: 48h From 96486462abb99319d6da74baa33155c674bdc0f3 Mon Sep 17 00:00:00 2001 From: arnesetzer <25772747+arnesetzer@users.noreply.github.com> Date: Mon, 2 Jun 2025 12:30:12 +0200 Subject: [PATCH 3/3] fix: Set accidently changed image version back to original --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 15ac6ba..0d0d2b0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ version: '3.8' services: overpass: # specify the image here - image: wiktorn/overpass-api:0.7.62 + image: wiktorn/overpass-api:0.7.56.9 container_name: overpass # uncomment if you want to build the image yourself # build: .