From b93c2c96ef61717091856792ab449a55bfb3eb58 Mon Sep 17 00:00:00 2001 From: ibuler Date: Thu, 7 May 2026 16:28:27 +0800 Subject: [PATCH 1/2] perf: update health check --- compose/magnus.yml | 2 +- compose/nec.yml | 2 +- compose/panda.yml | 2 +- compose/razor.yml | 2 +- compose/video.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/compose/magnus.yml b/compose/magnus.yml index 7a3092f..c61c241 100644 --- a/compose/magnus.yml +++ b/compose/magnus.yml @@ -20,7 +20,7 @@ services: - ${CONFIG_DIR}/certs:/opt/magnus/data/certs - ${VOLUME_DIR}/magnus/data:/opt/magnus/data healthcheck: - test: "curl localhost:8088/health || exit 1" + test: "check http://localhost:8088/health/" interval: 10s timeout: 5s retries: 3 diff --git a/compose/nec.yml b/compose/nec.yml index e8278c6..6c4ba3d 100644 --- a/compose/nec.yml +++ b/compose/nec.yml @@ -14,7 +14,7 @@ services: - ${CONFIG_DIR}/certs:/opt/nec/data/certs - ${VOLUME_DIR}/nec/data:/opt/nec/data healthcheck: - test: "curl -fsL http://localhost:8085/nec/health/ > /dev/null" + test: "check http://localhost:8085/nec/health/" interval: 10s timeout: 5s retries: 3 diff --git a/compose/panda.yml b/compose/panda.yml index e701691..582ae01 100644 --- a/compose/panda.yml +++ b/compose/panda.yml @@ -12,7 +12,7 @@ services: - ${VOLUME_DIR}/panda/data:/opt/panda/data - /var/run/docker.sock:/var/run/docker.sock:z healthcheck: - test: "curl -fsL http://localhost:9001/panda/health/ > /dev/null" + test: "check http://localhost:9001/panda/health/" interval: 10s timeout: 5s retries: 3 diff --git a/compose/razor.yml b/compose/razor.yml index dc7236f..5d9881e 100644 --- a/compose/razor.yml +++ b/compose/razor.yml @@ -14,7 +14,7 @@ services: - ${VOLUME_DIR}/razor/data:/opt/razor/data - ${CONFIG_DIR}/nginx/cert:/opt/razor/cert healthcheck: - test: "curl -fsL http://localhost:8084/razor/health/ > /dev/null" + test: "check http://localhost:8084/razor/health/" interval: 10s timeout: 5s retries: 3 diff --git a/compose/video.yml b/compose/video.yml index 7e5f8a3..8e73dc4 100644 --- a/compose/video.yml +++ b/compose/video.yml @@ -12,7 +12,7 @@ services: volumes: - ${VOLUME_DIR}/video/data:/opt/video-worker/data healthcheck: - test: "curl -fsL http://localhost:9000/video-worker/health/ > /dev/null" + test: "check http://localhost:9000/video-worker/health/" interval: 10s timeout: 5s retries: 3 From ddbf99152e37e1649d88f0632ed05ae64c7f46d7 Mon Sep 17 00:00:00 2001 From: ibuler Date: Mon, 11 May 2026 19:35:49 +0800 Subject: [PATCH 2/2] perf: update magnus check --- compose/magnus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/magnus.yml b/compose/magnus.yml index c61c241..86bdec6 100644 --- a/compose/magnus.yml +++ b/compose/magnus.yml @@ -20,7 +20,7 @@ services: - ${CONFIG_DIR}/certs:/opt/magnus/data/certs - ${VOLUME_DIR}/magnus/data:/opt/magnus/data healthcheck: - test: "check http://localhost:8088/health/" + test: "check http://localhost:8088/health" interval: 10s timeout: 5s retries: 3