From 629fe3779095bae6247f67cdf423a9846e3ac40e Mon Sep 17 00:00:00 2001 From: Hyungi Ahn Date: Thu, 2 Apr 2026 13:51:29 +0900 Subject: [PATCH] fix: use node fetch for kordoc healthcheck (wget/curl missing in slim) Co-Authored-By: Claude Opus 4.6 (1M context) --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index f6b382e..a3560a7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,7 +24,7 @@ services: volumes: - ${NAS_SMB_PATH:-/Volumes/Document_Server}:/documents:ro healthcheck: - test: ["CMD", "wget", "--spider", "-q", "http://localhost:3100/health"] + test: ["CMD", "node", "-e", "fetch('http://localhost:3100/health').then(r=>{process.exit(r.ok?0:1)}).catch(()=>process.exit(1))"] interval: 10s timeout: 5s retries: 3