Add timeout to healthcheck

This commit is contained in:
Michael Shamoon committed 2022-05-04 18:58:58 -07:00
1 parent 98ebb095cc
commit 49644ce18a
5 files changed
+5 -5

No files matched your search

@@ -59,7 +59,7 @@ services:
ports:
- 8000:8000
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000"]
test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"]
interval: 30s
timeout: 10s
retries: 5