forked from tableturn/geth-private-poa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
76 lines (75 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
version: "3"
services:
# The bootnode is the rendez-vous point for all other nodes.
bootnode:
image: ethereum/client-go:alltools-release-1.10
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.10
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 0x71b3D7405080197fC03cA82bCDd1764F1e14ABf2
# Sealer nodes are workers that commit blocks constantly.
sealer-one:
image: ethereum/client-go:alltools-release-1.10
links: [bootnode]
volumes:
- ./scripts:/scripts:ro
- ./keystore:/keystore:ro
- ./genesis.json:/genesis.json:ro
- /etc/localtime:/etc/localtime:ro
command: /scripts/sealer.sh 0x6c319A49787d10a6e0c72a25DB06cc555370c4DD
# sealer-two:
# image: ethereum/client-go:alltools-release-1.10
# 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 0x9E9581516679F57Aa7eb81D278841DF6aB93902B
# sealer-three:
# image: ethereum/client-go:alltools-release-1.10
# 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 0x71b3D7405080197fC03cA82bCDd1764F1e14ABf2
# sealer-four:
# image: ethereum/client-go:alltools-release-1.10
# 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 0x0Cbbb79B02449ea575F6185dd3C541E9ab8d8182
# sealer-five:
# image: ethereum/client-go:alltools-release-1.10
# 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 0x563A5fC36b990D68bBCaAA206C281BfEc31134AB