From ce5cdf0be5d7fdc627a500b12daeb61b28045457 Mon Sep 17 00:00:00 2001 From: pablomendezroyo Date: Mon, 23 Dec 2024 19:04:08 +0100 Subject: [PATCH] Add beacon backup node --- docker-compose.yml | 1 + validator/entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index c47e7bd..a1948f8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,6 +28,7 @@ services: EXTRA_OPTS: "" FEE_RECIPIENT_ADDRESS: "" JAVA_OPTS: "-Xmx6g" + BACKUP_BEACON_NODE: "" restart: unless-stopped security_opt: - seccomp:unconfined diff --git a/validator/entrypoint.sh b/validator/entrypoint.sh index df8af4d..e8fc59e 100755 --- a/validator/entrypoint.sh +++ b/validator/entrypoint.sh @@ -19,7 +19,7 @@ FLAGS="--log-destination=CONSOLE \ validator-client \ --network=$NETWORK \ --data-base-path=$DATA_DIR \ - --beacon-node-api-endpoint=$BEACON_API_URL \ + --beacon-node-api-endpoint=${BACKUP_BEACON_NODE:-$BEACON_API_URL} \ --validators-external-signer-url=$SIGNER_API_URL \ --metrics-enabled=true \ --metrics-interface=0.0.0.0 \