-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
125 lines (122 loc) · 3.33 KB
/
compose.yaml
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
version: "3.8"
services:
execution:
image: ghcr.io/paradigmxyz/reth:v1.0.3
pull_policy: always
command:
- node
- -vvv
- --full
- --datadir=/execution-data
- --chain=/network_config/genesis.json
- --addr=0.0.0.0
- --port=30303
- --discovery.port=30303
- --discovery.addr=0.0.0.0
- --http
- --http.port=8545
- --http.addr=0.0.0.0
- --http.corsdomain=*
- --http.api=net,eth,web3,txpool
- --ws
- --ws.addr=0.0.0.0
- --ws.port=8546
- --ws.api=net,eth
- --ws.origins=*
- --nat=extip:${IP_ADDRESS}
- --authrpc.port=8551
- --authrpc.jwtsecret=/jwtsecret
- --authrpc.addr=0.0.0.0
- --metrics=0.0.0.0:9001
- --bootnodes=${EL_BOOTNODES}
- --trusted-peers=${EL_BOOTNODES}
volumes:
- ./jwtsecret:/jwtsecret
- ./execution-data:/execution-data
- ../network_config:/network_config
ports:
- "127.0.0.1:8545:8545"
- "127.0.0.1:8546:8546"
- "127.0.0.1:9001:9001"
- "30303:30303"
restart: unless-stopped
stop_signal: SIGINT
stop_grace_period: 1m
beacon:
image: sigp/lighthouse:latest
pull_policy: always
command:
- lighthouse
- beacon_node
- --debug-level=info
- --datadir=/consensus-data
- --testnet-dir=/network_config
- --enr-address=${IP_ADDRESS}
- --enr-udp-port=9000
- --enr-tcp-port=9000
- --enr-quic-port=9001
- --listen-address=0.0.0.0
- --port=9000
- --http
- --http-address=0.0.0.0
- --http-port=5052
- --http-allow-sync-stalled
- --execution-endpoints=http://execution:8551
- --jwt-secrets=/jwtsecret
- --suggested-fee-recipient=${FEE_RECEIPIENT}
- --metrics
- --metrics-address=0.0.0.0
- --metrics-allow-origin=*
- --metrics-port=5054
- --trusted-peers=${CL_TRUSTPEERS}
- --boot-nodes=${CL_BOOTNODES}
- --checkpoint-sync-url=${CL_CHECKPOINT}
volumes:
- ./consensus-data:/consensus-data
- ./jwtsecret:/jwtsecret
- ../network_config:/network_config
ports:
- "9000:9000/tcp"
- "9000:9000/udp"
- "9001:9001/udp"
- "127.0.0.1:5052:5052"
- "127.0.0.1:5054:5054"
depends_on:
- execution
restart: unless-stopped
stop_signal: SIGINT
stop_grace_period: 1m
validator:
image: sigp/lighthouse:latest
pull_policy: always
command:
- lighthouse
- validator_client
- --debug-level=info
- --testnet-dir=/network_config
- --validators-dir=/validator_keys
- --secrets-dir=/validator_keys_secrets
- --http
- --http-address=0.0.0.0
- --http-port=5062
- --unencrypted-http-transport
- --init-slashing-protection
- --beacon-nodes=http://beacon:5052
- --suggested-fee-recipient=${FEE_RECEIPIENT}
- --metrics
- --metrics-address=0.0.0.0
- --metrics-allow-origin=*
- --metrics-port=5064
- --graffiti=ACE-TO-MOON
volumes:
- ./validator_keys:/validator_keys
- ./validator_keys_secrets:/validator_keys_secrets
- ../network_config:/network_config
ports:
- "127.0.0.1:5062:5062"
- "127.0.0.1:5064:5064"
depends_on:
- beacon
restart: unless-stopped
stop_signal: SIGINT
stop_grace_period: 1m