-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
69 lines (68 loc) · 1.56 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
59
60
61
62
63
64
65
66
67
68
69
version: "3"
services:
geth:
image: ethereum/client-go:latest
container_name: geth-execution-node
restart: unless-stopped
networks:
- eth2
ports:
- "30303:30303"
- "30303:30303/udp"
- "8545:8545"
- "8546:8546"
- "8551:8551"
volumes:
- <PATH-ON-HOST>:/root/.ethereum
stop_signal: SIGINT
stop_grace_period: 2m
command:
- --authrpc.addr
- "0.0.0.0"
- --authrpc.port
- "8551"
- --authrpc.vhosts
- "*"
- --authrpc.jwtsecret
- "/root/.ethereum/geth/jwtsecret"
- --http
- --http.api
- "eth,net,web3,engine"
- --http.addr=0.0.0.0
- --http.vhosts=*
- --http.corsdomain=*
- --ws
- --cache=4096
logging:
driver: "json-file"
options:
max-size: "2m"
max-file: "10"
prysm:
image: gcr.io/prysmaticlabs/prysm/beacon-chain:latest-debug
container_name: prysm-beacon-node
restart: unless-stopped
networks:
- eth2
depends_on:
- geth
ports:
- "4000:4000"
- "12000:12000/udp"
- "13000:13000"
volumes:
- <PATH-ON-HOST>:/data
stop_signal: SIGINT
stop_grace_period: 2m
command:
- --datadir=/data
- --rpc-host=0.0.0.0
- --monitoring-host=0.0.0.0
- --execution-endpoint=http://geth:8551
- --jwt-secret=/data/geth/jwtsecret
- --suggested-fee-recipient=0xe2167e7E71A985962BaB25482cFe3e8ba6B2BCaB
- --accept-terms-of-use
- --p2p-host-ip=<HOST-IP-HERE>
networks:
eth2:
driver: bridge