switch to curl healthcheck

This commit is contained in:
2026-02-01 19:51:42 +01:00
parent cda9b2af88
commit d8a803af4c

View File

@@ -12,7 +12,7 @@ services:
- "host:${HOST_IP}" - "host:${HOST_IP}"
- "mqtt:${HOST_IP}" - "mqtt:${HOST_IP}"
healthcheck: 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 interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3