forked from engram-network/tokio-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
148 lines (144 loc) · 5.69 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
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
147
148
version: "3.9"
services:
striatum_init:
image: "engramnet/striatum:tokio" # Sets up the genesis configuration for the striatum Engram Tokio client from a JSON file.
container_name: striatum_init
command: --datadir=/execution init /custom_config_data/genesis.json
volumes:
- ./execution:/execution
- ./custom_config_data:/custom_config_data
striatum_el:
image: "engramnet/striatum:tokio" # Runs the striatum execution client with the specified networks.
container_name: striatum_el
restart: on-failure
command:
- --http
- --http.api=admin,eth,net,web3
- --http.addr=0.0.0.0
- --http.port=8545
- --http.vhosts=*
- --http.corsdomain=*
- --ethstats=YourNameNodeHere:[email protected] #Change YourNameNodeHere With Your Node/Community
- --authrpc.vhosts=*
- --authrpc.addr=0.0.0.0
- --authrpc.port=8551
- --authrpc.jwtsecret=/custom_config_data/jwtsecret
- --datadir=/execution
- --identity=Huemint # Change With Your userdiscord without handle or hastag
- --networkid=131
- --syncmode=full
- --cache=1028
- --rpc.allow-unprotected-txs
- --port=30303
- --gcmode=full
- --cache.preimages
- --crypto.kzg=gokzg
- --bootnodes=enode://29b663be8f9eebda336f8930604f477bec57d486fa3fe50a7014e392a09b2ec1789f294997783c3ec4cc7847e3f412fe35e5904fd684fc6cf34210aea1f88dc6@159.223.32.178:30303
ports:
- 8551:8551 # rpc engine
- 8545:8545 # rpc json, optional, you can deactivate if you don't need
- 30303:30303/tcp # bootnodes
- 30303:30303/udp # bootnodes
depends_on:
striatum_init:
condition: service_completed_successfully
volumes:
- ./execution:/execution
- ./custom_config_data:/custom_config_data
lighthouse_cl:
image: "sigp/lighthouse:v4.5.0" # Runs a Lighthouse beacon chain from a specified genesis state created in the previous step
container_name: lighthouse_cl
restart: on-failure
command:
- lighthouse
- bn
- --gui
- --eth1
- --staking
- --http
- --http-port=5052
- --http-allow-sync-stalled
- --http-address=0.0.0.0
- --subscribe-all-subnets
- --http-allow-origin=*
- --debug-level=info
- --datadir=/consensus
- --testnet-dir=/custom_config_data
- --disable-enr-auto-update
- --enr-address=0.0.0.0
- --enr-udp-port=9000
- --enr-tcp-port=9000
- --discovery-port=9000
- --port=9002
- --genesis-backfill
- --target-peers=400
- --metrics
- --metrics-address=0.0.0.0
- --metrics-allow-origin=*
- --metrics-port=5054
- --graffiti=Huemint # Change with your discord address (e.g: ethStaker)
- --boot-nodes=enr:-MS4QGOGlttjofgnBvfmyKIpKBLl-2OPKxLfUfKGyUlWBRnDRlU-9fYeqKP-DnySYnpK6WvCJMDmDmPs9T3-vqTCzmhFh2F0dG5ldHOI__________-EZXRoMpBc4aciQAABMf__________gmlkgnY0gmlwhDb_xcuEcXVpY4IjKYlzZWNwMjU2azGhAutHyoDBd-nvWN1DdTggz2ajo2W053uMUW7EKptXLpgDiHN5bmNuZXRzD4N0Y3CCIyiDdWRwgiMo,enr:-MS4QEuCFSPpDKfMn7PfBC-mdL-UR4IdDRVZ0zr3bUxfIU_OfRD5Rt3ngqFgQOTLajvBC_ul1vK3jsPktKAm1PWsVpBFh2F0dG5ldHOI__________-EZXRoMpBc4aciQAABMf__________gmlkgnY0gmlwhKpAzP-EcXVpY4IjKYlzZWNwMjU2azGhAwTGWXl8cPw1AAkRiFVl7phbt2FFIJ-vFgsW2BJFsuQFiHN5bmNuZXRzD4N0Y3CCIyiDdWRwgiMo,enr:-MS4QAcCGw8Pncl2Lidd51j9OjqmLNVnExPBdA71S0T4gQszL6PiZXUNTpchqGkpRGEIeRdGhI06PMMRaVOJ2JjlhVBFh2F0dG5ldHOI__________-EZXRoMpBc4aciQAABMf__________gmlkgnY0gmlwhA3UtEqEcXVpY4IjKYlzZWNwMjU2azGhAoW4WExH213eOZrOzuThMHDYqS56O5DGE4fgK8ihgR7GiHN5bmNuZXRzD4N0Y3CCIyiDdWRwgiMo
- --execution-endpoints=http://striatum_el:8551
- --eth1-endpoints=http://striatum_el:8545
- --execution-jwt=/custom_config_data/jwtsecret
depends_on:
striatum_el:
condition: service_started
ports:
- 5052:5052 # Ethereum Node Record
- 5054:5054 # metrics
- 9000:9000/tcp # ENR port tcp
- 9000:9000/udp # ENR port udp
volumes:
- ./consensus:/consensus
- ./custom_config_data:/custom_config_data
lighthouse_init:
image: "sigp/lighthouse:v4.5.0" # Initialize and import keystore from staking_cli to lighthouse client.
container_name: lighthouse_init
command:
- lighthouse
- account
- validator
- import
- --testnet-dir=/custom_config_data
- --datadir=/validator
- --directory=/validator_keys
- --password-file=/custom_config_data/password.txt
- --reuse-password
volumes:
- ./custom_config_data:/custom_config_data
- ./validator:/validator
- ./validator_keys:/validator_keys
lighthouse_vc:
image: "sigp/lighthouse:v4.5.0" # Runs a Lighthouse validator from a specified consensus state created in the previous step
container_name: lighthouse_vc
restart: on-failure
command:
- lighthouse
- vc
- --http
- --unencrypted-http-transport
- --init-slashing-protection
- --http-allow-origin=*
- --http-port=5062
- --http-address=0.0.0.0
- --metrics
- --metrics-address=0.0.0.0
- --metrics-port=5064
- --metrics-allow-origin=*
- --datadir=/validator
- --testnet-dir=/custom_config_data
- --suggested-fee-recipient=0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 # Change With Your Address From Funding Deposit Contracts
- --graffiti=Huemint # Change With Your Name Nodes
- --beacon-nodes=http://lighthouse_cl:5052
depends_on:
lighthouse_init:
condition: service_completed_successfully
lighthouse_cl:
condition: service_started
volumes:
- ./custom_config_data:/custom_config_data
- ./validator:/validator
ports:
- 5062:5062
- 5064:5064