Skip to content

Commit 0e6da86

Browse files
authored
fix: Fix invalid docker compose syntax for healthcheck by using curl -g (#146)
* fix: Fix invalid docker compose syntax for healthcheck by using curl -g * refactor: Minimize test command * fix: Set accidently changed image version back to original
1 parent 757a220 commit 0e6da86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ services:
2222
- OVERPASS_UPDATE_SLEEP=3600
2323
- OVERPASS_USE_AREAS=false
2424
healthcheck:
25-
test: ["CMD-SHELL", "curl --noproxy '*' -qf 'http://localhost/api/interpreter?data=\[out:json\];node(1);out;' | jq '.generator' |grep -q Overpass || exit 1"]
25+
test: curl --noproxy '*' -qfg 'http://localhost/api/interpreter?data=[out:json];node(1);out;' | jq '.generator' |grep -q Overpass || exit 1
2626
start_period: 48h

0 commit comments

Comments
 (0)