This commit is contained in:
Sebastian
2025-02-12 12:56:52 +01:00
parent 6f1c6c5bce
commit 67dcdbe57f
2 changed files with 6 additions and 4 deletions

View File

@@ -9,12 +9,12 @@ RUN apk add --no-cache \
WORKDIR /repo
ENV RPC_URL
ENV REF_URL
ENV RPC_URL=
ENV REF_URL=
ENV CHECK_INTERVAL=30
# Make the mounted script executable at runtime
while true; do \
CMD while true; do \
/repo/check-health.sh ${RPC_URL} ${REF_URL} > /health/status 2>&1; \
sleep ${CHECK_INTERVAL}; \
done
done

View File

@@ -16,6 +16,8 @@ services:
volumes:
- .:/repo:ro
- fuse-nethermind-health:/health:rw
networks:
- chains
fuse-nethermind:
image: fusenet/node:nethermind-1.25.4-v6.0.2