forked from tableturn/geth-private-poa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
80 lines (79 loc) · 2.55 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
version: "3"
services:
# The bootnode is the rendez-vous point for all other nodes.
bootnode:
image: ethereum/client-go:alltools-release-1.8
restart: on-failure
hostname: bootstrap
ports:
- 30303:30303
volumes:
- ./scripts:/scripts:ro
- ./boot.key:/boot.key:ro
- /etc/localtime:/etc/localtime:ro
command: /scripts/bootnode.sh
# The node container is our entry point to issue RPC commands
# but it's not sealing.
node:
image: ethereum/client-go:alltools-release-1.8
restart: on-failure
links: [bootnode]
ports:
- 8544-8546:8544-8546
volumes:
- ./scripts:/scripts:ro
- ./keystore:/keystore:ro
- ./genesis.json:/genesis.json:ro
- /etc/localtime:/etc/localtime:ro
command: /scripts/node.sh 0x627306090abab3a6e1400e9345bc60c78a8bef57
# Sealer nodes are workers that commit blocks constantly.
sealer-one:
image: ethereum/client-go:alltools-release-1.8
restart: on-failure
links: [bootnode]
volumes:
- ./scripts:/scripts:ro
- ./keystore:/keystore:ro
- ./genesis.json:/genesis.json:ro
- /etc/localtime:/etc/localtime:ro
command: /scripts/sealer.sh 0xf17f52151ebef6c7334fad080c5704d77216b732
sealer-two:
image: ethereum/client-go:alltools-release-1.8
restart: on-failure
links: [bootnode]
volumes:
- ./scripts:/scripts:ro
- ./keystore:/keystore:ro
- ./genesis.json:/genesis.json:ro
- /etc/localtime:/etc/localtime:ro
command: /scripts/sealer.sh 0xc5fdf4076b8f3a5357c5e395ab970b5b54098fef
sealer-three:
image: ethereum/client-go:alltools-release-1.8
restart: on-failure
links: [bootnode]
volumes:
- ./scripts:/scripts:ro
- ./keystore:/keystore:ro
- ./genesis.json:/genesis.json:ro
- /etc/localtime:/etc/localtime:ro
command: /scripts/sealer.sh 0x821aea9a577a9b44299b9c15c88cf3087f3b5544
sealer-four:
image: ethereum/client-go:alltools-release-1.8
restart: on-failure
links: [bootnode]
volumes:
- ./scripts:/scripts:ro
- ./keystore:/keystore:ro
- ./genesis.json:/genesis.json:ro
- /etc/localtime:/etc/localtime:ro
command: /scripts/sealer.sh 0x0d1d4e623d10f9fba5db95830f7d3839406c6af2
sealer-five:
image: ethereum/client-go:alltools-release-1.8
restart: on-failure
links: [bootnode]
volumes:
- ./scripts:/scripts:ro
- ./keystore:/keystore:ro
- ./genesis.json:/genesis.json:ro
- /etc/localtime:/etc/localtime:ro
command: /scripts/sealer.sh 0x2932b7a2355d6fecc4b5c0b6bd44cc31df247a2e