forked from Inphi/eip4844-interop
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
146 lines (139 loc) · 3.73 KB
/
Copy pathdocker-compose.yml
File metadata and controls
146 lines (139 loc) · 3.73 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
version: '3.4'
volumes:
geth_data:
geth_data2:
beacon_node_data:
beacon_node_follower_data:
services:
execution-node:
build:
context: ./geth
dockerfile: Dockerfile.geth
ports:
- "8545:8545"
environment:
GETH_VERBOSITY: 4
volumes:
- "geth_data:/db"
- type: bind
source: ./geth/geth-genesis.json
target: /genesis.json
execution-node-2:
depends_on:
- execution-node
build:
context: ./geth
dockerfile: Dockerfile.geth
environment:
PEER: execution-node:30303
GETH_VERBOSITY: 4
ports:
- "8546:8545"
volumes:
- "geth_data2:/db"
- type: bind
source: ./geth/geth-genesis.json
target: /genesis.json
beacon-node:
depends_on:
- execution-node
- jaeger-tracing
build:
context: ./prysm
dockerfile: Dockerfile.prysm
environment:
EXECUTION_NODE_URL: http://execution-node:8545
TRACING_ENDPOINT: http://jaeger-tracing:14268/api/traces
PROCESS_NAME: beacon-node
VERBOSITY: debug
P2P_PRIV_KEY: /etc/prysm-priv-key
entrypoint: ["run_beacon_node.sh", "--min-sync-peers=0", "--bootstrap-node="]
ports:
- "3500:3500"
- "4000:4000"
- "13000:13000"
volumes:
- "beacon_node_data:/chaindata"
- type: bind
source: ./shared/chain-config.yml
target: /config/chain-config.yml
- type: bind
source: ./prysm/run_beacon_node.sh
target: /usr/local/bin/run_beacon_node.sh
- type: bind
source: ./prysm/prysm-priv-key
target: /etc/prysm-priv-key
beacon-node-follower:
depends_on:
- execution-node-2
- beacon-node
- jaeger-tracing
build:
context: ./prysm
dockerfile: Dockerfile.prysm
environment:
EXECUTION_NODE_URL: http://execution-node-2:8545
TRACING_ENDPOINT: http://jaeger-tracing:14268/api/traces
PROCESS_NAME: beacon-node-follower
BEACON_NODE_RPC: http://beacon-node:3500
VERBOSITY: debug
P2P_PRIV_KEY: /etc/prysm-priv-key
entrypoint: run_beacon_node_peer.sh
ports:
- "3501:3500"
- "4001:4000"
- "13001:13000"
volumes:
- "beacon_node_follower_data:/chaindata"
- type: bind
source: ./shared/chain-config.yml
target: /config/chain-config.yml
- type: bind
source: ./prysm/run_beacon_node.sh
target: /usr/local/bin/run_beacon_node.sh
- type: bind
source: ./prysm/run_beacon_node_peer.sh
target: /usr/local/bin/run_beacon_node_peer.sh
- type: bind
source: ./prysm/prysm-follower-priv-key
target: /etc/prysm-priv-key
validator-node:
depends_on:
- beacon-node
- jaeger-tracing
build:
context: ./prysm
dockerfile: Dockerfile.prysm
command: >
validator
--accept-terms-of-use
--beacon-rpc-provider beacon-node:4000
--rpc
--grpc-gateway-host 0.0.0.0
--grpc-gateway-port 7500
--interop-num-validators=4
--interop-start-index=0
--force-clear-db
--chain-config-file=/config/chain-config.yml
--suggested-fee-recipient 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b
--enable-tracing
--tracing-endpoint http://jaeger-tracing:14268/api/traces
--tracing-process-name validator-node
ports:
- "7500:7500"
volumes:
- type: bind
source: ./shared/chain-config.yml
target: /config/chain-config.yml
jaeger-tracing:
image: jaegertracing/all-in-one:1.35
environment:
COLLECTOR_ZIPKIN_HTTP_PORT: 9411
ports:
- "5775:5775/udp"
- "6831:6831/udp"
- "6832:6832/udp"
- "5778:5778"
- "16686:16686"
- "14268:14268"
- "9411:9411"