This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
66 lines (63 loc) · 1.84 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
version: "3"
services:
consensus:
image: gnosischain/lodestar-beacon:latest-chiado
restart: always
stop_grace_period: 1m
volumes:
- consensus-data:/var/lib/consensus
- ./jwtsecret:/jwtsecret
ports:
- 9000:9000/tcp
- 9000:9000/udp
command: >
--jwt-secret=/jwtsecret
--execution.urls http://execution:8551
--eth1.providerUrls http://execution:8545
--dataDir /var/lib/data
--rest "true"
--rest.address 0.0.0.0
--rest.port 4000
--port 9000
--logFileLevel debug
--logFile /var/lib/data/beacon.log
--logFileDailyRotate 5
validator:
image: gnosischain/lodestar-validator:latest-chiado
restart: always
volumes:
- validator-data:/var/lib/data
- ./keystores:/var/lib/keystores
command: >
--suggestedFeeRecipient ${FEE_RECIPIENT}
--graffiti ${GRAFFITI}
--importKeystores /var/lib/keystores
--importKeystoresPassword /var/lib/keystores/password.txt
--dataDir /var/lib/data
--server http://consensus:4000
--logFileLevel debug
--logFile /var/lib/data/validator.log
--logFileDailyRotate
execution:
image: gnosischain/nethermind:latest-chiado
restart: always
stop_grace_period: 1m
volumes:
- execution-data:/var/lib/execution
- ./jwtsecret:/jwtsecret
ports:
- 30303:30303/tcp
- 30303:30303/udp
command: >
--JsonRpc.JwtSecretFile=/jwtsecret
--JsonRpc.AdditionalRpcUrls="http://localhost:8551|http;ws|net;eth;subscribe;engine;web3;client"
--JsonRpc.Enabled=true
--JsonRpc.EnabledModules="net,eth,consensus,subscribe,web3,admin,txpool"
--JsonRpc.Host=0.0.0.0
--datadir=/var/lib/execution
--Network.DiscoveryPort=30303
--Network.P2PPort=30303
volumes:
consensus-data:
validator-data:
execution-data: