fix: use rust healthcheck for code queue mgr

This commit is contained in:
Codex
2026-05-19 17:15:55 +00:00
parent 541a93604d
commit 22a0b709f2
4 changed files with 31 additions and 3 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ services:
volumes:
- ${UNIDESK_LOG_DIR}:/var/log/unidesk
healthcheck:
test: ["CMD", "bun", "-e", "fetch('http://127.0.0.1:4278/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
test: ["CMD", "code-queue-mgr", "--healthcheck"]
interval: 5s
timeout: 3s
retries: 20