From d546a1acf9f2585d2edc6ee1c5612e81633f6f90 Mon Sep 17 00:00:00 2001 From: asepharyana Date: Tue, 21 Jul 2026 15:52:51 +0700 Subject: [PATCH] =?UTF-8?q?fix(scraper):=20healthcheck=20tolerate=20404=20?= =?UTF-8?q?=E2=80=94=20server=20is=20up=20even=20if=20root=20returns=20404?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- infra/compose/scraper.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/compose/scraper.yml b/infra/compose/scraper.yml index f2a83e9..2479f20 100644 --- a/infra/compose/scraper.yml +++ b/infra/compose/scraper.yml @@ -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