From 23269e1ab2c9635c5f49b5c79dc3c81691e5f910 Mon Sep 17 00:00:00 2001 From: asepharyana Date: Tue, 21 Jul 2026 15:36:42 +0700 Subject: [PATCH] =?UTF-8?q?fix(scraper):=20fix=20healthcheck=20=E2=80=94?= =?UTF-8?q?=20use=20wget=20instead=20of=20ss=20(not=20available=20in=20sli?= =?UTF-8?q?m=20image)?= 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 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