make it invincible

This commit is contained in:
Sebastian
2025-02-12 14:01:23 +01:00
parent 54a0d4e5f6
commit dece12e555

View File

@@ -24,10 +24,10 @@ services:
fuse-nethermind:
image: fusenet/node:nethermind-1.25.4-v6.0.2
healthcheck:
test: ["CMD", "cat", "/health/status", "|", "grep", "-q", "online"]
test: ["CMD", "sh", "-c", "while read -r status; do [ \"$$status\" = \"online\" -o \"$$status\" = \"lagging\" ] && exit 0; done < /health/status; exit 1"]
interval: 30s
timeout: 1s
retries: 3
retries: 1
expose:
- "35045"
- "8545"