forked from OffchainLabs/eth-pos-devnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
85 lines (82 loc) · 2.16 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: devnet
services:
geth:
image: "ethereum/client-go:v1.14.2"
command:
- --networkid=48815
- --nodiscover
- --http
- --http.api=eth,net,web3,debug,txpool
- --http.addr=0.0.0.0
- --http.corsdomain=*
- --http.vhosts=*
- --ws
- --ws.api=eth,net,web3,debug,txpool
- --ws.addr=0.0.0.0
- --ws.origins=*
- --syncmode=full
- --gcmode=archive
- --history.transactions=0
- --history.state=0
ports:
- 8545:8545
- 8546:8546
depends_on:
beacon-chain:
condition: service_started
volumes:
- ./data/geth:/root/.ethereum
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "10"
beacon-chain:
image: "gcr.io/prysmaticlabs/prysm/beacon-chain:v5.0.3"
command:
- --datadir=/prysm/beacondata
- --min-sync-peers=0
- --genesis-state=/prysm/genesis.ssz
- --bootstrap-node=
- --interop-eth1data-votes
- --chain-config-file=/config/config.yml
- --contract-deployment-block=0
- --chain-id=48815
- --rpc-host=0.0.0.0
- --grpc-gateway-host=0.0.0.0
- --execution-endpoint=/geth/geth.ipc
- --accept-terms-of-use
- --suggested-fee-recipient=0x123463a4b065722e99115d6c222f267d9cabb524
- --minimum-peers-per-subnet=0
ports:
- 4000:4000
- 3500:3500
volumes:
- ./data/prysm:/prysm
- ./data/geth:/geth
- ./config/config.yml:/config/config.yml:ro
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "10"
validator:
image: "gcr.io/prysmaticlabs/prysm/validator:v5.0.3"
command:
- --beacon-rpc-provider=beacon-chain:4000
- --datadir=/prysm/validatordata
- --accept-terms-of-use
- --interop-num-validators=3
- --interop-start-index=0
- --chain-config-file=/config/config.yml
depends_on:
beacon-chain:
condition: service_started
volumes:
- ./data/prysm:/prysm
- ./config/config.yml:/config/config.yml:ro
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "10"