From d8a803af4ca2b8fb34369af56fcc14132c74542f Mon Sep 17 00:00:00 2001 From: Rik Veenboer Date: Sun, 1 Feb 2026 19:51:42 +0100 Subject: [PATCH] switch to curl healthcheck --- compose.nodered.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.nodered.yaml b/compose.nodered.yaml index 0af4841..55c86d0 100644 --- a/compose.nodered.yaml +++ b/compose.nodered.yaml @@ -12,7 +12,7 @@ services: - "host:${HOST_IP}" - "mqtt:${HOST_IP}" healthcheck: - test: ["CMD-SHELL", "node -e \"require('http').get('http://localhost:1880', (res) => process.exit(res.statusCode === 200 ? 0 : 1)).on('error', () => process.exit(1))\""] + test: ["CMD", "curl", "-f", "http://localhost:1880/"] interval: 30s timeout: 10s retries: 3