Skip to content

Commit 84175f2

Browse files
committed
make lido sidecars excludable using env
1 parent 4b54270 commit 84175f2

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

.env.sample.hoodi

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,15 @@ MONITORING=${MONITORING:-monitoring},monitoring-log-aggregator
3737
#MONITORING=${MONITORING:-monitoring},monitoring-log-collector
3838
#MONITORING=monitoring-none
3939

40+
# Lido sidecars for DV exit. Comment individual lines to disable specific sidecars.
41+
# Uncomment only LIDO_SIDECARS=lido-sidecars-none to disable all Lido sidecars.
42+
LIDO_SIDECARS=${LIDO_SIDECARS:-lido-sidecars},lido-ejector
43+
LIDO_SIDECARS=${LIDO_SIDECARS:-lido-sidecars},lido-dv-exit
44+
#LIDO_SIDECARS=lido-sidecars-none
45+
4046
# Do not edit. These profiles and files dictate to Docker which client types and from where to start for execution, consensus, validator and MEV.
4147
# The actual adjustable values are specified above.
42-
COMPOSE_PROFILES=${EL},${CL},${VC},${MEV},${MONITORING}
48+
COMPOSE_PROFILES=${EL},${CL},${VC},${MEV},${MONITORING},${LIDO_SIDECARS}
4349
COMPOSE_FILE=compose-el.yml:compose-cl.yml:compose-vc.yml:compose-mev.yml:compose-monitoring.yml:docker-compose.yml
4450

4551
# Enables Builder API.

.env.sample.mainnet

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,15 @@ MONITORING=${MONITORING:-monitoring},monitoring-log-aggregator
3737
#MONITORING=${MONITORING:-monitoring},monitoring-log-collector
3838
#MONITORING=monitoring-none
3939

40+
# Lido sidecars for DV exit. Comment individual lines to disable specific sidecars.
41+
# Uncomment only LIDO_SIDECARS=lido-sidecars-none to disable all Lido sidecars.
42+
LIDO_SIDECARS=${LIDO_SIDECARS:-lido-sidecars},lido-ejector
43+
LIDO_SIDECARS=${LIDO_SIDECARS:-lido-sidecars},lido-dv-exit
44+
#LIDO_SIDECARS=lido-sidecars-none
45+
4046
# Do not edit. These profiles and files dictate to Docker which client types and from where to start for execution, consensus, validator and MEV.
4147
# The actual adjustable values are specified above.
42-
COMPOSE_PROFILES=${EL},${CL},${VC},${MEV},${MONITORING}
48+
COMPOSE_PROFILES=${EL},${CL},${VC},${MEV},${MONITORING},${LIDO_SIDECARS}
4349
COMPOSE_FILE=compose-el.yml:compose-cl.yml:compose-vc.yml:compose-mev.yml:compose-monitoring.yml:docker-compose.yml
4450

4551
# Enables Builder API.

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ services:
231231
# |__/
232232

233233
validator-ejector:
234+
profiles: [lido-ejector]
234235
image: lidofinance/validator-ejector:${VALIDATOR_EJECTOR_VERSION:-1.9.0}
235236
user: ":"
236237
networks: [dvnode]
@@ -260,6 +261,7 @@ services:
260261
# |_|_|\__,_|\___/ \__,_| \_/ \___/_/\_\_|\__|
261262

262263
lido-dv-exit:
264+
profiles: [lido-dv-exit]
263265
image: obolnetwork/lido-dv-exit:${LIDO_DV_EXIT_VERSION:-v0.4.0}
264266
user: ":"
265267
networks: [dvnode]

0 commit comments

Comments
 (0)