From e3fdb3fab6c0c4a1d071e894e3a10e9f64ea1d22 Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Wed, 12 Feb 2025 12:46:13 +0100 Subject: [PATCH] try to build a health check --- fuse.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/fuse.yml b/fuse.yml index c1600732..b4d3126c 100644 --- a/fuse.yml +++ b/fuse.yml @@ -4,6 +4,20 @@ version: '3.1' # DOCKER_IMAGE_NM_CLIENT services: + +services: + fuse-health-checker: + build: + context: ./check-health/ + dockerfile: Dockerfile + environment: + - RPC_URL=http://fuse-nethermind:8545 + - REF_URL=https://fuse-pokt.nodies.app # optional + - CHECK_INTERVAL=30 # in seconds + volumes: + - .:/repo:ro + - fuse-nethermind-health:/health:rw + fuse-nethermind: image: fusenet/node:nethermind-1.25.4-v6.0.2 expose: @@ -56,3 +70,4 @@ volumes: fuse-nethermind-keystore: fuse-nethermind-logs: fuse-nethermind-db: + fuse-nethermind-health: