From e04774a5d251206f23999c9f5d489f6cec96471e Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 15 Nov 2024 11:06:48 +0800 Subject: [PATCH] perf: update nec healthcheck --- compose/nec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/nec.yml b/compose/nec.yml index 4e2ec34..435cd21 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: "nc -z 127.0.0.1 5900 || exit 1" + test: "curl -fsL http://localhost:8085/nec/health/ > /dev/null" interval: 10s timeout: 5s retries: 3