Skip to content

Commit e72b2a8

Browse files
chore (docker compose): add a timeout to CKAN healthcheck
1 parent b77a1c7 commit e72b2a8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker-compose.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ services:
4646
- site_packages:/usr/lib/python3.10/site-packages
4747
restart: unless-stopped
4848
healthcheck:
49-
test: ["CMD", "wget", "-qO", "/dev/null", "http://127.0.0.1:5000"]
49+
test: ["CMD", "wget", "--timeout=9", "-qO", "/dev/null", "http://127.0.0.1:5000"]
50+
interval: 15s
51+
timeout: 10s
52+
retries: 5
5053

5154
datapusher:
5255
networks:

0 commit comments

Comments
 (0)