diff --git a/compose/magnus.yml b/compose/magnus.yml index 7a3092f..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: "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