Skip to content

Commit dae2b16

Browse files
OisinKyneKaloyanTanev
authored andcommitted
Draft of profiles work
1 parent 173ecfb commit dae2b16

4 files changed

Lines changed: 14 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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ services:
4646
# |___/
4747

4848
lighthouse:
49+
profiles: [cl_lighthouse]
4950
image: sigp/lighthouse:${LIGHTHOUSE_VERSION:-v7.0.1}
5051
ports:
5152
- ${LIGHTHOUSE_PORT_P2P:-9000}:9000/tcp # P2P TCP
@@ -142,6 +143,7 @@ services:
142143
# | | | | | | __/\ V /_____| |_) | (_) | (_) \__ \ |_
143144
# |_| |_| |_|\___| \_/ |_.__/ \___/ \___/|___/\__|
144145
mev-boost:
146+
profiles: [mev_mevboost]
145147
image: ${MEVBOOST_IMAGE:-flashbots/mev-boost}:${MEVBOOST_VERSION:-1.9}
146148
command: |
147149
-${NETWORK}

0 commit comments

Comments
 (0)