fix(scraper): fix healthcheck — use wget instead of ss (not available in slim image)

This commit is contained in:
asepharyana
2026-07-21 15:36:42 +07:00
parent 8f05d1df3d
commit 23269e1ab2
+1 -1
View File
@@ -10,7 +10,7 @@ services:
env_file:
- ../../.env
healthcheck:
test: ['CMD-SHELL', 'curl -sf http://localhost:4091/ >/dev/null 2>&1 || ss -tln | grep -q :4091']
test: ['CMD', 'wget', '--no-verbose', '--tries=1', '--spider', 'http://localhost:4091/']
interval: 30s
timeout: 10s
retries: 5