Skip to content

Commit e5e95f7

Browse files
committed
Using multiple files to avoid name conflicts
1 parent 61c2ef3 commit e5e95f7

3 files changed

Lines changed: 60 additions & 11 deletions

File tree

Makefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.PHONY: up down restart logs
2+
3+
COMPOSE=docker compose -f docker-compose.yml -f compose-grandine.yml
4+
5+
up:
6+
$(COMPOSE) up -d
7+
8+
down:
9+
$(COMPOSE) down
10+
11+
restart: down up
12+
13+
logs:
14+
$(COMPOSE) logs -f

compose-grandine.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Override any defaults specified by `${FOO:-bar}` in `.env` with `FOO=qux`.
2+
# ${VARIABLE:-default} evaluates to default if VARIABLE is unset or empty in the environment.
3+
# ${VARIABLE-default} evaluates to default only if VARIABLE is unset in the environment.
4+
5+
services:
6+
# _ _
7+
# __ _ _ __ __ _ _ __ __| (_)_ __ ___
8+
# / _` | '__/ _` | '_ \ / _` | | '_ \ / _ \
9+
# | (_| | | | (_| | | | | (_| | | | | | __/
10+
# \__, |_| \__,_|_| |_|\__,_|_|_| |_|\___|
11+
# |___/
12+
13+
beacon:
14+
profiles: [cl_grandine]
15+
image: sifrai/grandine:${GRANDINE_VERSION:-1.1.1}
16+
restart: unless-stopped
17+
command:
18+
- --datadir=/root/.grandine
19+
- --eth1-rpc-urls=http://execution:8551
20+
- --jwt-secret=/jwt
21+
- --http-address=0.0.0.0
22+
- --http-port=5052
23+
- --network=${NETWORK}
24+
- --metrics
25+
- --metrics-port=5054
26+
- --metrics-address=0.0.0.0
27+
- --checkpoint-sync-url=${LIGHTHOUSE_CHECKPOINT_SYNC_URL}
28+
- --builder=http://mev:18550
29+
ports:
30+
- 9000:9000 # TCP + UDP LibP2P
31+
volumes:
32+
- ./data/grandine:/data
33+
- ./jwt:/jwt:ro
34+
networks:
35+
- dvnode

docker-compose.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ services:
88
# | '_ \ / _ \ __| '_ \ / _ \ '__| '_ ` _ \| | '_ \ / _` |
99
# | | | | __/ |_| | | | __/ | | | | | | | | | | | (_| |
1010
# |_| |_|\___|\__|_| |_|\___|_| |_| |_| |_|_|_| |_|\__,_|
11-
nethermind:
11+
execution:
1212
profiles: [el_nethermind]
13-
image: nethermind/nethermind:${NETHERMIND_VERSION:-1.31.11}
13+
image: nethermind/nethermind:${NETHERMIND_VERSION:-1.32.2}
1414
restart: unless-stopped
1515
ports:
1616
- ${NETHERMIND_PORT_P2P:-30303}:30303/tcp # P2P TCP
@@ -46,7 +46,7 @@ services:
4646
# |_|_|\__, |_| |_|\__|_| |_|\___/ \__,_|___/\___|
4747
# |___/
4848

49-
lighthouse:
49+
beacon:
5050
profiles: [cl_lighthouse]
5151
image: sigp/lighthouse:${LIGHTHOUSE_VERSION:-v7.0.1}
5252
ports:
@@ -59,10 +59,10 @@ services:
5959
--network=${NETWORK}
6060
--checkpoint-sync-url=${LIGHTHOUSE_CHECKPOINT_SYNC_URL}
6161
--checkpoint-sync-url-timeout=600
62-
--execution-endpoint=http://nethermind:8551
62+
--execution-endpoint=http://execution:8551
6363
--execution-jwt=/opt/jwt/jwt.hex
6464
--datadir=/opt/app/beacon/
65-
--builder=http://mev-boost:18550
65+
--builder=http://mev:18550
6666
--http
6767
--http-address=0.0.0.0
6868
--http-port=5052
@@ -85,9 +85,9 @@ services:
8585

8686
charon:
8787
profiles: [dv_charon]
88-
image: obolnetwork/charon:${CHARON_VERSION:-v1.4.3}
88+
image: obolnetwork/charon:${CHARON_VERSION:-v1.5.0-rc4}
8989
environment:
90-
- CHARON_BEACON_NODE_ENDPOINTS=${CHARON_BEACON_NODE_ENDPOINTS:-http://lighthouse:5052}
90+
- CHARON_BEACON_NODE_ENDPOINTS=${CHARON_BEACON_NODE_ENDPOINTS:-http://beacon:5052}
9191
- CHARON_BEACON_NODE_HEADERS=${CHARON_BEACON_NODE_HEADERS:-}
9292
- CHARON_BEACON_NODE_TIMEOUT=${CHARON_BEACON_NODE_TIMEOUT:-3s}
9393
- CHARON_BEACON_NODE_SUBMIT_TIMEOUT=${CHARON_BEACON_NODE_SUBMIT_TIMEOUT:-4s}
@@ -121,7 +121,7 @@ services:
121121
# | | (_) | (_| | __/\__ \ || (_| | |
122122
# |_|\___/ \__,_|\___||___/\__\__,_|_|
123123

124-
lodestar:
124+
validator:
125125
profiles: [vc_lodestar]
126126
image: chainsafe/lodestar:${LODESTAR_VERSION:-v1.29.0}
127127
depends_on: [charon]
@@ -145,7 +145,7 @@ services:
145145
# | '_ ` _ \ / _ \ \ / /____| '_ \ / _ \ / _ \/ __| __|
146146
# | | | | | | __/\ V /_____| |_) | (_) | (_) \__ \ |_
147147
# |_| |_| |_|\___| \_/ |_.__/ \___/ \___/|___/\__|
148-
mev-boost:
148+
mev:
149149
profiles: [mev_mevboost]
150150
image: ${MEVBOOST_IMAGE:-flashbots/mev-boost}:${MEVBOOST_VERSION:-1.9}
151151
command: |
@@ -170,7 +170,7 @@ services:
170170
# |___/
171171

172172
prometheus:
173-
image: prom/prometheus:${PROMETHEUS_VERSION:-v2.46.0}
173+
image: prom/prometheus:${PROMETHEUS_VERSION:-v2.53.5}
174174
user: ":"
175175
networks: [dvnode]
176176
volumes:
@@ -193,7 +193,7 @@ services:
193193
restart: unless-stopped
194194

195195
loki:
196-
image: grafana/loki:${LOKI_VERSION:-2.8.2}
196+
image: grafana/loki:${LOKI_VERSION:-2.9.15}
197197
user: ":"
198198
networks: [dvnode]
199199
command: -config.file=/etc/loki/loki.yml

0 commit comments

Comments
 (0)