This repository has been archived by the owner on Jan 27, 2024. It is now read-only.
forked from jimmygchen/eip4844-devnet
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
58 lines (55 loc) · 1.53 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: '3.4'
volumes:
geth_data:
lighthouse_data:
services:
geth:
build:
context: ./geth
dockerfile: Dockerfile.geth
ports:
- '8545:8545'
- 0.0.0.0:${EL_P2P_PORT:-30303}:${EL_P2P_PORT:-30303}/tcp
- 0.0.0.0:${EL_P2P_PORT:-30303}:${EL_P2P_PORT:-30303}/udp
environment:
- EL_P2P_PORT=${EL_P2P_PORT:-30303}
command: /usr/local/bin/geth.sh
volumes:
- 'geth_data:/db'
- type: bind
source: ./geth/geth.sh
target: /usr/local/bin/geth.sh
- type: bind
source: ./geth/jwtsecret
target: /config/jwtsecret
- type: bind
source: ./geth/genesis.json
target: /config/genesis.json
- type: bind
source: ./geth/enodes.list
target: /config/enodes.list
lighthouse:
build:
context: ./lighthouse
dockerfile: Dockerfile.lighthouse
environment:
- CL_P2P_PORT=${CL_P2P_PORT:-9000}
- CL_LOG_LEVEL=${CL_LOG_LEVEL:-info}
- CHECKPOINT_SYNC_URL=${CHECKPOINT_SYNC_URL}
ports:
- "5052:5052"
- "5054:5054"
- 0.0.0.0:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/tcp
- 0.0.0.0:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/udp
command: /usr/local/bin/lighthouse.sh
volumes:
- lighthouse_data:/data
- type: bind
source: ./lighthouse/lighthouse.sh
target: /usr/local/bin/lighthouse.sh
- type: bind
source: ./cl_config
target: /config/testnet
- type: bind
source: ./geth/jwtsecret
target: /config/jwtsecret