Skip to content

Commit 61c2ef3

Browse files
committed
Draft of profiles work
1 parent d5b74d5 commit 61c2ef3

4 files changed

Lines changed: 17 additions & 0 deletions

File tree

.env.sample.holesky

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
# Overrides network for all the relevant services.
55
NETWORK=holesky
66

7+
# These profiles dictate what client types to start for execution, consensus, validator and mev clients.
8+
COMPOSE_PROFILES=el_nethermind,cl_lighthouse,dv_charon,vc_lodestar,mev_mevboost
9+
#COMPOSE_PROFILES=el_nethermind,cl_grandine,dv_charon,vc_teku,mev_commitboost
10+
711
# Enables builder api for lodestar VC and charon services.
812
#BUILDER_API_ENABLED=
913
#BUILDER_API_RELAY_URL=http://mev-boost:18550

.env.sample.hoodi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
# Overrides network for all the relevant services.
55
NETWORK=hoodi
66

7+
# These profiles dictate what client types to start for execution, consensus, validator and mev clients.
8+
COMPOSE_PROFILES=el_nethermind,cl_lighthouse,dv_charon,vc_lodestar,mev_mevboost
9+
#COMPOSE_PROFILES=el_nethermind,cl_grandine,dv_charon,vc_teku,mev_commitboost
10+
711
# Enables builder api for lodestar VC and charon services.
812
#BUILDER_API_ENABLED=
913
#BUILDER_API_RELAY_URL=http://mev-boost:18550

.env.sample.mainnet

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
# Overrides network for all the relevant services.
55
NETWORK=mainnet
66

7+
# These profiles dictate what client types to start for execution, consensus, validator and mev clients.
8+
COMPOSE_PROFILES=el_nethermind,cl_lighthouse,dv_charon,vc_lodestar,mev_mevboost
9+
#COMPOSE_PROFILES=el_nethermind,cl_grandine,dv_charon,vc_teku,mev_commitboost
10+
711
# Enables builder api for lodestar VC and charon services.
812
#BUILDER_API_ENABLED=
913

docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ services:
99
# | | | | __/ |_| | | | __/ | | | | | | | | | | | (_| |
1010
# |_| |_|\___|\__|_| |_|\___|_| |_| |_| |_|_|_| |_|\__,_|
1111
nethermind:
12+
profiles: [el_nethermind]
1213
image: nethermind/nethermind:${NETHERMIND_VERSION:-1.31.11}
1314
restart: unless-stopped
1415
ports:
@@ -46,6 +47,7 @@ services:
4647
# |___/
4748

4849
lighthouse:
50+
profiles: [cl_lighthouse]
4951
image: sigp/lighthouse:${LIGHTHOUSE_VERSION:-v7.0.1}
5052
ports:
5153
- ${LIGHTHOUSE_PORT_P2P:-9000}:9000/tcp # P2P TCP
@@ -82,6 +84,7 @@ services:
8284
# \___|_| |_|\__,_|_| \___/|_| |_|
8385

8486
charon:
87+
profiles: [dv_charon]
8588
image: obolnetwork/charon:${CHARON_VERSION:-v1.4.3}
8689
environment:
8790
- CHARON_BEACON_NODE_ENDPOINTS=${CHARON_BEACON_NODE_ENDPOINTS:-http://lighthouse:5052}
@@ -119,6 +122,7 @@ services:
119122
# |_|\___/ \__,_|\___||___/\__\__,_|_|
120123

121124
lodestar:
125+
profiles: [vc_lodestar]
122126
image: chainsafe/lodestar:${LODESTAR_VERSION:-v1.29.0}
123127
depends_on: [charon]
124128
entrypoint: /opt/lodestar/run.sh
@@ -142,6 +146,7 @@ services:
142146
# | | | | | | __/\ V /_____| |_) | (_) | (_) \__ \ |_
143147
# |_| |_| |_|\___| \_/ |_.__/ \___/ \___/|___/\__|
144148
mev-boost:
149+
profiles: [mev_mevboost]
145150
image: ${MEVBOOST_IMAGE:-flashbots/mev-boost}:${MEVBOOST_VERSION:-1.9}
146151
command: |
147152
-${NETWORK}

0 commit comments

Comments
 (0)