fix: use node fetch for kordoc healthcheck (wget/curl missing in slim)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-04-02 13:51:29 +09:00
parent 8484389086
commit 629fe37790

View File

@@ -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