diff --git a/infra/compose/scraper.yml b/infra/compose/scraper.yml index f3db778..f2a83e9 100644 --- a/infra/compose/scraper.yml +++ b/infra/compose/scraper.yml @@ -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