Skip to content

Commit

Permalink
Lido Community Staking integration (#1754)
Browse files Browse the repository at this point in the history
* Lido integration (#4)

* feat: lido relays (#5)

* fix: change mech of relay selection for Lido (#6)

* fix: Obol integration

* fix: linter

* feat: add obol dashboards

* feat: add obol loki dashboards

* fix: obol metrics

* fix: use `.eth` instead of `.charon`

* feat: backup ENR public key to the file

* fix: `OWNER` for macOS

* fix: exitstatus check for charon-run-dkg

* feat: add ssv-dkg for Lido integration

* fix: linter

* fix: sed

* feat: backup .eth when exists

* fix: linter

* fix: charon dir

* fix: lido_ssv flow

* fix: permissions

* fix: jq for obol

* feat: add `--distributed` for prysm and lodestar

* fix: lint

* fix: obol flow

* fix: linter

* fix: Relays list window size

* fix: obol flow

* fix: backup folder with keys

* fix: linter

* fix: prysm rest api

* fix: add mkdir for obol

* fix: add `--publish` flag to dkg

* feat: add LIDO_DV_EXIT_EXIT_EPOCH

* fix: update image for lido-dv-exit

* fix: lido-dv-exit and exit epoch

* fix: ssv-dkg config path

* fix: ssv dashboard

* fix: lido ssv flow

* fix: add curl-jq

* chore: remove goerli

* fix: compose files

* fix: permissions

* feat: holesky relays, user flow adjustment

* feat: update VE_ORACLE_ADDRESSES_ALLOWLIST for holesky

* fix: extra chown for .eth

* fix: add `-u` for enr and dkg services

* fix: linter

* Fix: Argument list too long error when verifying Oblol cluster definition

* feat: automatic import N keystore files with different passwords

* Fix: "Argument list too long" when verifying existing cluster definition file

* Fix: pre-commit errors "SC2046 (warning): Quote this to prevent word splitting"

* chore: fix typo

* chore: update `VE_ORACLE_ADDRESSES_ALLOWLIST` for holesky

* feat: `distributed` arg for lh, nim, teku VC clients

* fix: `OBOL_NODE_TAG` -> `CHARON_VERSION`

* fix: charon version

* feat: csm testnet (#9)

* fix: link to csm widget

* Support Nethermind 1.27 (#1848)

(cherry picked from commit d951eca)

* fix: after sync

* Fix link to the repo in the README.md

* fix: lighthouse dashboards

* fix: export vars for deposit-cli

* fix: save vars for deposit-cli

* fix: linter

* fix: sed for macOS in Obol config

* feat: changes for upstream (#19)

* fix: remove env vars

* fix: remove unused operator-sample

* feat: reuse deposit-cli

* fix: remove unused file from gitignore

* fix: lidofinance -> eth-educators

* fix: add `--uid` flag for keys creation

* fix: message

* fix: MEV_BOOST should be enabled for Lido configs

* fix: reuse attention message

* fix: add `OBOL_CL_NODE` and `OBOL_EL_NODE` env vars

* fix: misleading msg

* fix: add env vars to `ALL_VARS`

* chore: bump `ENV_VERSION`

* feat: follow to refactoring

* fix: docompose -> __docompose

---------

Co-authored-by: cnupy <ivan.petkov@gmail.com>
Co-authored-by: cnupy <38653063+cnupy@users.noreply.github.com>
Co-authored-by: yorickdowne <71337066+yorickdowne@users.noreply.github.com>
Co-authored-by: Dmitry Gusakov <dmitry.gusakov@lido.fi>
  • Loading branch information
5 people authored Sep 17, 2024
1 parent 848ea5a commit 83feff3
Show file tree
Hide file tree
Showing 27 changed files with 670 additions and 27 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ ext-network.yml
ext-network.yml.original
ext-network.yml.bak
.eth/*
.eth_backup*
.charon/*
validator-ejector/*
!.eth/README.md
!.eth/validator_keys/.empty
!.eth/exit_messages/.empty
Expand Down
20 changes: 19 additions & 1 deletion default.env
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ HOST_IP=
# IP address to use when host-mapping a port through *-shared.yml. Set this to 127.0.0.1 to restrict the share to localhost
SHARE_IP=

# Relays to connect charon node
OBOL_P2P_RELAYS=

# P2P ports you will forward to your staking node. Adjust here if you are
# going to use something other than defaults.
EL_P2P_PORT=30303
Expand Down Expand Up @@ -115,6 +118,8 @@ SSV_P2P_PORT=13001
SSV_P2P_PORT_UDP=12001
# SSV DKG port
SSV_DKG_PORT=3030
# OBOL Node ports
OBOL_P2P_PORT=3610
# Engine port. Only for distributed setups, this should otherwise be left alone
EE_PORT=8551
# Consensus layer REST port. Only for distributed setups, this should otherwise be left alone
Expand Down Expand Up @@ -160,6 +165,10 @@ EL_NODE=http://execution:8551
CL_NODE=http://consensus:5052
# MEV-boost address. This would only be changed for Vouch setups
MEV_NODE=http://mev-boost:18550
# Consensus client address for Charon and Lido Validator Ejector in Obol setup
OBOL_CL_NODE=http://consensus:5052
# Execution client address (RPC) for Lido Validator Ejector in Obol setup
OBOL_EL_NODE=http://execution:8545

# You can set specific version targets and choose binary or compiled from source builds below,
# via "Dockerfile.binary" or "Dockerfile.source"
Expand All @@ -174,6 +183,15 @@ ETH_DOCKER_TAG=
SSV_NODE_TAG=latest
SSV_DKG_TAG=latest

# Lido OBOL
CHARON_VERSION=latest
VE_OPERATOR_ID=
VE_STAKING_MODULE_ID=
VE_LOCATOR_ADDRESS=
VE_ORACLE_ADDRESSES_ALLOWLIST=
ENABLE_DIST_ATTESTATION_AGGR=
LIDO_DV_EXIT_EXIT_EPOCH=

# MEV-Boost
# SRC build target can be a tag, a branch, or a pr as "pr-ID"
MEV_SRC_BUILD_TARGET=stable
Expand Down Expand Up @@ -308,4 +326,4 @@ DDNS_TAG=v2
NODE_EXPORTER_IGNORE_MOUNT_REGEX='^/(dev|proc|sys|run|var/lib/docker/.+)($|/)'

# Used by ethd update - please do not adjust
ENV_VERSION=13
ENV_VERSION=14
428 changes: 414 additions & 14 deletions ethd

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions grafana/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,21 @@ case "$CLIENT" in
wget -t 3 -T 10 -qcO - "${__url}" | jq '.title = "SSV Node Dashboard"' \
| jq 'walk(if . == "${DS_PROMETHEUS}" then "Prometheus" else . end)' >"${__file}"
;;&
*lido-obol.yml* )
# Lido Obol Dashboard
__url_charon='https://raw.githubusercontent.com/ObolNetwork/lido-charon-distributed-validator-node/main/grafana/dashboards/dash_charon_overview.json'
__file_charon='/etc/grafana/provisioning/dashboards/charon.json'
wget -t 3 -T 10 -qcO - "${__url_charon}" | sed 's/"uid": "prometheus"/"uid": "PBFA97CFB590B2093"/g' >"${__file_charon}"
__url_single_node='https://raw.githubusercontent.com/ObolNetwork/lido-charon-distributed-validator-node/main/grafana/dashboards/single_node_dashboard.json'
__file_single_node='/etc/grafana/provisioning/dashboards/single_node_dashboard.json'
wget -t 3 -T 10 -qcO - "${__url_single_node}" | sed 's/"uid": "prometheus"/"uid": "PBFA97CFB590B2093"/g' >"${__file_single_node}"
__url_validator_ejector='https://raw.githubusercontent.com/ObolNetwork/lido-charon-distributed-validator-node/main/grafana/dashboards/validator_ejector_overview.json'
__file_validator_ejector='/etc/grafana/provisioning/dashboards/validator_ejector_overview.json'
wget -t 3 -T 10 -qcO - "${__url_validator_ejector}" | sed 's/"uid": "prometheus"/"uid": "PBFA97CFB590B2093"/g' >"${__file_validator_ejector}"
__url_logs='https://raw.githubusercontent.com/ObolNetwork/lido-charon-distributed-validator-node/main/grafana/dashboards/logs_dashboard.json'
__file_logs='/etc/grafana/provisioning/dashboards/logs_dashboard.json'
wget -t 3 -T 10 -qcO - "${__url_logs}" | sed 's/"uid": "loki"/"uid": "P8E80F9AEF21F6940"/g' >"${__file_logs}"
;;&
!(*grafana-rootless*) )
# cadvisor and node exporter dashboard
__id=10619
Expand Down
104 changes: 104 additions & 0 deletions lido-obol.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
x-logging: &logging
logging:
driver: json-file
options:
max-size: 100m
max-file: "3"
tag: '{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}'

services:
charon:
restart: "unless-stopped"
image: obolnetwork/charon:${CHARON_VERSION:-latest}
volumes:
- .eth:/opt/charon/.charon
<<: *logging
environment:
- CHARON_BEACON_NODE_ENDPOINTS=${OBOL_CL_NODE:-http://consensus:5052}
- CHARON_LOG_LEVEL=${OBOL_LOG_LEVEL:-debug}
- CHARON_LOG_FORMAT=${OBOL_LOG_FORMAT:-console}
- CHARON_P2P_RELAYS=${OBOL_P2P_RELAYS:-https://0.relay.obol.tech,https://1.relay.obol.tech/}
- CHARON_P2P_EXTERNAL_HOSTNAME=${OBOL_P2P_EXTERNAL_HOSTNAME:-} # Empty default required to avoid warnings.
- CHARON_P2P_TCP_ADDRESS=0.0.0.0:${OBOL_P2P_PORT:-3610}
- CHARON_VALIDATOR_API_ADDRESS=0.0.0.0:3600
- CHARON_MONITORING_ADDRESS=0.0.0.0:3620
- CHARON_BUILDER_API=${BUILDER_API_ENABLED:-true}
- CHARON_FEATURE_SET_ENABLE=eager_double_linear,consensus_participate
- CHARON_LOKI_ADDRESSES=${CHARON_LOKI_ADDRESSES:-http://loki:3100/loki/api/v1/push}
- CHARON_LOKI_SERVICE=charon
ports:
- ${OBOL_P2P_PORT:-3610}:${OBOL_P2P_PORT:-3610}/tcp # P2P TCP libp2p
healthcheck:
test: wget -qO- http://localhost:3620/readyz
labels:
- metrics.scrape=true
- metrics.path=/metrics
- metrics.port=3620
- metrics.instance=charon

charon-create-enr:
profiles: ["tools"]
restart: "no"
image: obolnetwork/charon:${CHARON_VERSION:-latest}
command: create enr
volumes:
- .eth:/opt/charon/.charon
charon-run-dkg:
profiles: ["tools"]
restart: "no"
image: obolnetwork/charon:${CHARON_VERSION:-latest}
volumes:
- .eth:/opt/charon/.charon
command: dkg --publish
curl-jq:
image: curl-jq:local
pull_policy: build
build:
context: ./traefik
dockerfile: Dockerfile.jq
restart: "no"
profiles: [ "tools" ]

validator-ejector:
platform: linux/amd64
image: lidofinance/validator-ejector:${VALIDATOR_EJECTOR_VERSION:-1.5.0}
user: ":"
volumes:
- ./validator-ejector:/exitmessages
restart: unless-stopped
environment:
- EXECUTION_NODE=${OBOL_EL_NODE:-http://execution:8545}
- CONSENSUS_NODE=${OBOL_CL_NODE:-http://consensus:5052}
- LOCATOR_ADDRESS=${VE_LOCATOR_ADDRESS:-0x28FAB2059C713A7F9D8c86Db49f9bb0e96Af1ef8}
- STAKING_MODULE_ID=${VE_STAKING_MODULE_ID:-2}
- OPERATOR_ID=${VE_OPERATOR_ID}
- ORACLE_ADDRESSES_ALLOWLIST=${VE_ORACLE_ADDRESSES_ALLOWLIST:-["0x140Bd8FbDc884f48dA7cb1c09bE8A2fAdfea776E","0xA7410857ABbf75043d61ea54e07D57A6EB6EF186","0x404335BcE530400a5814375E7Ec1FB55fAff3eA2","0x946D3b081ed19173dC83Cd974fC69e1e760B7d78","0x007DE4a5F7bc37E2F26c0cb2E8A95006EE9B89b5","0xEC4BfbAF681eb505B94E4a7849877DC6c600Ca3A","0x61c91ECd902EB56e314bB2D5c5C07785444Ea1c8","0x1Ca0fEC59b86F549e1F1184d97cb47794C8Af58d","0xc79F702202E3A6B0B6310B537E786B9ACAA19BAf"]}
- MESSAGES_LOCATION=/exitmessages
- RUN_METRICS=true
- HTTP_PORT=8989
- DISABLE_SECURITY_DONT_USE_IN_PRODUCTION=${VE_DISABLE_SECURITY:-false}
- FORCE_DENCUN_FORK_MODE=true
labels:
- metrics.scrape=true
- metrics.path=/metrics
- metrics.port=8989
- metrics.instance=validator-ejector

lido-dv-exit:
image: obolnetwork/lido-dv-exit:${LIDO_DV_EXIT_VERSION:-e8bee1f}
user: ":"
volumes:
- ./validator-ejector:/exitmessages
- .eth:/charon
environment:
- LIDODVEXIT_BEACON_NODE_URL=${OBOL_CL_NODE:-http://consensus:5052}
- LIDODVEXIT_CHARON_RUNTIME_DIR=/charon
- LIDODVEXIT_EJECTOR_EXIT_PATH=/exitmessages
- LIDODVEXIT_EXIT_EPOCH=${LIDO_DV_EXIT_EXIT_EPOCH:-194048}
- LIDODVEXIT_LOG_LEVEL=${LIDO_DV_EXIT_LOG_LEVEL:-info}
- LIDODVEXIT_VALIDATOR_QUERY_CHUNK_SIZE=${LIDO_DV_EXIT_VALIDATOR_QUERY_CHUNK_SIZE:-5}
restart: on-failure

networks:
default:
enable_ipv6: ${IPV6:-false}
1 change: 1 addition & 0 deletions lighthouse-vc-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ services:
- GRAFFITI=${GRAFFITI:-}
- DEFAULT_GRAFFITI=${DEFAULT_GRAFFITI:-false}
- NETWORK=${NETWORK}
- ENABLE_DIST_ATTESTATION_AGGR=${ENABLE_DIST_ATTESTATION_AGGR:-false}
volumes:
- lhvalidator-data:/var/lib/lighthouse
- /etc/localtime:/etc/localtime:ro
Expand Down
1 change: 1 addition & 0 deletions lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ services:
- GRAFFITI=${GRAFFITI:-}
- DEFAULT_GRAFFITI=${DEFAULT_GRAFFITI:-false}
- NETWORK=${NETWORK}
- ENABLE_DIST_ATTESTATION_AGGR=${ENABLE_DIST_ATTESTATION_AGGR:-false}
volumes:
- lhvalidator-data:/var/lib/lighthouse
- /etc/localtime:/etc/localtime:ro
Expand Down
11 changes: 9 additions & 2 deletions lighthouse/docker-entrypoint-vc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,19 @@ else
__doppel=""
fi

# Distributed attestation aggregation
if [ "${ENABLE_DIST_ATTESTATION_AGGR}" = "true" ]; then
__att_aggr="--distributed"
else
__att_aggr=""
fi

if [ "${DEFAULT_GRAFFITI}" = "true" ]; then
# Word splitting is desired for the command line parameters
# shellcheck disable=SC2086
exec "$@" ${__network} ${__mev_boost} ${__beacon_stats} ${__doppel} ${VC_EXTRAS}
exec "$@" ${__network} ${__mev_boost} ${__beacon_stats} ${__doppel} ${__att_aggr} ${VC_EXTRAS}
else
# Word splitting is desired for the command line parameters
# shellcheck disable=SC2086
exec "$@" ${__network} "--graffiti" "${GRAFFITI}" ${__mev_boost} ${__beacon_stats} ${__doppel} ${VC_EXTRAS}
exec "$@" ${__network} "--graffiti" "${GRAFFITI}" ${__mev_boost} ${__beacon_stats} ${__doppel} ${__att_aggr} ${VC_EXTRAS}
fi
1 change: 1 addition & 0 deletions lodestar-vc-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ services:
- DEFAULT_GRAFFITI=${DEFAULT_GRAFFITI:-false}
- WEB3SIGNER=${WEB3SIGNER}
- NETWORK=${NETWORK}
- ENABLE_DIST_ATTESTATION_AGGR=${ENABLE_DIST_ATTESTATION_AGGR:-false}
volumes:
- lsvalidator-data:/var/lib/lodestar/validators
- /etc/localtime:/etc/localtime:ro
Expand Down
1 change: 1 addition & 0 deletions lodestar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ services:
- DEFAULT_GRAFFITI=${DEFAULT_GRAFFITI:-false}
- WEB3SIGNER=${WEB3SIGNER}
- NETWORK=${NETWORK}
- ENABLE_DIST_ATTESTATION_AGGR=${ENABLE_DIST_ATTESTATION_AGGR:-false}
volumes:
- lsvalidator-data:/var/lib/lodestar/validators
- /etc/localtime:/etc/localtime:ro
Expand Down
11 changes: 9 additions & 2 deletions lodestar/docker-entrypoint-vc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,19 @@ else
__w3s_url=""
fi

# Distributed attestation aggregation
if [ "${ENABLE_DIST_ATTESTATION_AGGR}" = "true" ]; then
__att_aggr="--distributed"
else
__att_aggr=""
fi

if [ "${DEFAULT_GRAFFITI}" = "true" ]; then
# Word splitting is desired for the command line parameters
# shellcheck disable=SC2086
exec "$@" ${__network} ${__mev_boost} ${__beacon_stats} ${__doppel} ${__w3s_url} ${VC_EXTRAS}
exec "$@" ${__network} ${__mev_boost} ${__beacon_stats} ${__doppel} ${__w3s_url} ${__att_aggr} ${VC_EXTRAS}
else
# Word splitting is desired for the command line parameters
# shellcheck disable=SC2086
exec "$@" ${__network} "--graffiti" "${GRAFFITI}" ${__mev_boost} ${__beacon_stats} ${__doppel} ${__w3s_url} ${VC_EXTRAS}
exec "$@" ${__network} "--graffiti" "${GRAFFITI}" ${__mev_boost} ${__beacon_stats} ${__doppel} ${__w3s_url} ${__att_aggr} ${VC_EXTRAS}
fi
1 change: 1 addition & 0 deletions nimbus-allin1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ services:
- DEFAULT_GRAFFITI=${DEFAULT_GRAFFITI:-false}
- WEB3SIGNER=${WEB3SIGNER:-false}
- EMBEDDED_VC=true
- ENABLE_DIST_ATTESTATION_AGGR=${ENABLE_DIST_ATTESTATION_AGGR:-false}
ports:
- ${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/tcp
- ${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/udp
Expand Down
1 change: 1 addition & 0 deletions nimbus-vc-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ services:
- GRAFFITI=${GRAFFITI:-}
- DEFAULT_GRAFFITI=${DEFAULT_GRAFFITI:-false}
- WEB3SIGNER=${WEB3SIGNER:-false}
- ENABLE_DIST_ATTESTATION_AGGR=${ENABLE_DIST_ATTESTATION_AGGR:-false}
networks:
default:
aliases:
Expand Down
1 change: 1 addition & 0 deletions nimbus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ services:
- GRAFFITI=${GRAFFITI:-}
- DEFAULT_GRAFFITI=${DEFAULT_GRAFFITI:-false}
- WEB3SIGNER=${WEB3SIGNER:-false}
- ENABLE_DIST_ATTESTATION_AGGR=${ENABLE_DIST_ATTESTATION_AGGR:-false}
networks:
default:
aliases:
Expand Down
11 changes: 9 additions & 2 deletions nimbus/docker-entrypoint-vc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,19 @@ else
__w3s_url=""
fi

# Distributed attestation aggregation
if [ "${ENABLE_DIST_ATTESTATION_AGGR}" = "true" ]; then
__att_aggr="--distributed"
else
__att_aggr=""
fi

if [ "${DEFAULT_GRAFFITI}" = "true" ]; then
# Word splitting is desired for the command line parameters
# shellcheck disable=SC2086
exec "$@" ${__w3s_url} ${__log_level} ${__doppel} ${__mev_boost} ${VC_EXTRAS}
exec "$@" ${__w3s_url} ${__log_level} ${__doppel} ${__mev_boost} ${__att_aggr} ${VC_EXTRAS}
else
# Word splitting is desired for the command line parameters
# shellcheck disable=SC2086
exec "$@" ${__w3s_url} "--graffiti=${GRAFFITI}" ${__log_level} ${__doppel} ${__mev_boost} ${VC_EXTRAS}
exec "$@" ${__w3s_url} "--graffiti=${GRAFFITI}" ${__log_level} ${__doppel} ${__mev_boost} ${__att_aggr} ${VC_EXTRAS}
fi
4 changes: 4 additions & 0 deletions prometheus/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ select_clients() {
*ssv.yml* ) cp ./rootless/ssv-prom.yml ./rootless.d ;;
esac

case "$CLIENT" in
*lido-obol.yml* ) cp ./rootless/lido-obol-prom.yml ./rootless.d ;;
esac

case "$CLIENT" in
*traefik-* ) cp ./rootless/traefik-prom.yml ./rootless.d ;;
esac
Expand Down
8 changes: 8 additions & 0 deletions prometheus/obol-prom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
remote_write:
- url: https://vm.monitoring.gcp.obol.tech/write
authorization:
credentials: OBOL_PROM_REMOTE_WRITE_TOKEN
write_relabel_configs:
- source_labels: [job]
regex: "charon"
action: keep # Keeps charon metrics and drop metrics from other containers.
11 changes: 11 additions & 0 deletions prometheus/rootless/lido-obol-prom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
scrape_configs:
- job_name: charon
metrics_path: /metrics
static_configs:
- targets:
- charon:3620
- job_name: validator-ejector
metrics_path: /metrics
static_configs:
- targets:
- validator-ejector:8989
8 changes: 7 additions & 1 deletion prysm-vc-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ services:
- DEFAULT_GRAFFITI=${DEFAULT_GRAFFITI:-false}
- WEB3SIGNER=${WEB3SIGNER:-false}
- NETWORK=${NETWORK}
- ENABLE_DIST_ATTESTATION_AGGR=${ENABLE_DIST_ATTESTATION_AGGR:-false}
networks:
default:
aliases:
Expand Down Expand Up @@ -69,6 +70,9 @@ services:
- consensus:5052
- --suggested-fee-recipient
- ${FEE_RECIPIENT}
- --enable-beacon-rest-api
- --beacon-rest-api-provider
- ${CL_NODE:-http://consensus:5052}
labels:
- traefik.enable=true
- traefik.http.routers.prysm.entrypoints=web,websecure
Expand Down Expand Up @@ -110,7 +114,9 @@ services:
- validator
- exit
- --wallet-dir=/var/lib/prysm/
- --beacon-rpc-provider=${CL_NODE:-http://consensus:4000}
- --enable-beacon-rest-api
- --beacon-rest-api-provider
- ${CL_NODE:-http://consensus:5052}
- --wallet-password-file=/var/lib/prysm/password.txt
- --${NETWORK}

Expand Down
Loading

0 comments on commit 83feff3

Please sign in to comment.