fix(scraper): fix healthcheck — use wget instead of ss (not available in slim image)
This commit is contained in:
@@ -10,7 +10,7 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
- ../../.env
|
- ../../.env
|
||||||
healthcheck:
|
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
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|||||||
Reference in New Issue
Block a user