From 4665ed9ac4dfa7f52e54c966582970ab3126ea96 Mon Sep 17 00:00:00 2001 From: pablomendezroyo <41727368+pablomendezroyo@users.noreply.github.com> Date: Thu, 17 Oct 2024 15:21:31 +0200 Subject: [PATCH 1/2] Remove volume from validator service Remove volume from validator service since its not required. Brain loads pubkeys on deman --- docker-compose.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index c549a3d..3c9b79e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,8 +25,6 @@ services: UPSTREAM_VERSION: v5.1.0 STAKER_SCRIPTS_VERSION: v0.1.0 DATA_DIR: /root/.eth2validators - volumes: - - validator-data:/root/.eth2validators restart: on-failure environment: LOG_TYPE: INFO From 2762baa295145d310b25ed1201e5429bdc9a752f Mon Sep 17 00:00:00 2001 From: pablomendezroyo Date: Thu, 17 Oct 2024 16:08:17 +0200 Subject: [PATCH 2/2] add `--keymanager-token-file` path --- validator/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/validator/entrypoint.sh b/validator/entrypoint.sh index 4cec0af..6bb2cb5 100755 --- a/validator/entrypoint.sh +++ b/validator/entrypoint.sh @@ -60,6 +60,7 @@ FLAGS="--datadir=$DATA_DIR \ --verbosity=$VERBOSITY \ --web \ --accept-terms-of-use \ + --keymanager-token-file=${WALLET_DIR}/auth-token \ --enable-doppelganger ${NETWORK_FLAGS} ${MEVBOOST_FLAG} ${EXTRA_OPTS}" echo "[INFO - entrypoint] Starting validator with flags: $FLAGS"