fix(scraper): healthcheck tolerate 404 — server is up even if root returns 404

This commit is contained in:
asepharyana
2026-07-21 15:52:51 +07:00
parent 23269e1ab2
commit d546a1acf9
+1 -1
View File
@@ -10,7 +10,7 @@ services:
env_file:
- ../../.env
healthcheck:
test: ['CMD', 'wget', '--no-verbose', '--tries=1', '--spider', 'http://localhost:4091/']
test: ['CMD-SHELL', 'curl -so /dev/null --connect-timeout 5 http://localhost:4091/ || test $? -eq 22']
interval: 30s
timeout: 10s
retries: 5