forked from drr00t/parity-poa-playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
117 lines (103 loc) · 3.41 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
version: '2.1'
services:
authority0:
image: parity/parity:${PARITY_VERSION}
command:
--config /parity/config/authority.toml
--engine-signer 0x00bd138abd70e2f00903268f3db08f2d25677c9e
volumes:
- ./parity/config:/parity/config:ro
- authority0:/root/.local/share/io.parity.ethereum/
- ./parity/authorities/authority0.json:/root/.local/share/io.parity.ethereum/keys/${NETWORK_NAME}/authority.json:ro
- ./parity/keys:/root/.local/share/io.parity.ethereum/keys/${NETWORK_NAME}
- ./parity/authorities/authority0.pwd:/parity/authority.pwd:ro
- ./parity/node0.network.key:/root/.local/share/io.parity.ethereum/network/key:ro
ports:
- 8545:8545
networks:
app_net:
ipv4_address: 172.16.0.10
authority1:
image: parity/parity:${PARITY_VERSION}
command:
--config /parity/config/authority.toml
--engine-signer 0x00aa39d30f0d20ff03a22ccfc30b7efbfca597c2
volumes:
- ./parity/config:/parity/config:ro
- authority1:/root/.local/share/io.parity.ethereum/
- ./parity/authorities/authority1.json:/root/.local/share/io.parity.ethereum/keys/${NETWORK_NAME}/authority.json:ro
- ./parity/authorities/authority1.pwd:/parity/authority.pwd:ro
- ./parity/node1.network.key:/root/.local/share/io.parity.ethereum/network/key:ro
networks:
app_net:
ipv4_address: 172.16.0.11
authority2:
image: parity/parity:${PARITY_VERSION}
command:
--config /parity/config/authority.toml
--engine-signer 0x002e28950558fbede1a9675cb113f0bd20912019
volumes:
- ./parity/config:/parity/config:ro
- authority2:/root/.local/share/io.parity.ethereum/
- ./parity/authorities/authority2.json:/root/.local/share/io.parity.ethereum/keys/${NETWORK_NAME}/authority.json:ro
- ./parity/authorities/authority2.pwd:/parity/authority.pwd:ro
- ./parity/node2.network.key:/root/.local/share/io.parity.ethereum/network/key:ro
networks:
app_net:
ipv4_address: 172.16.0.12
member0:
image: parity/parity:${PARITY_VERSION}
command: --config /parity/config/member.toml --ui-no-validation ui
volumes:
- ./parity/config:/parity/config:ro
- ./parity/keys:/root/.local/share/io.parity.ethereum/keys/${NETWORK_NAME}
ports:
- 8180:8180
- 8546:8545
networks:
app_net:
ipv4_address: 172.16.0.20
member1:
image: parity/parity:${PARITY_VERSION}
command: --config /parity/config/member.toml
volumes:
- ./parity/config:/parity/config:ro
networks:
app_net:
ipv4_address: 172.16.0.21
member2:
image: parity/parity:${PARITY_VERSION}
command: --config /parity/config/member.toml
volumes:
- ./parity/config:/parity/config:ro
networks:
app_net:
ipv4_address: 172.16.0.22
monitor:
image: buythewhale/ethstats_monitor
volumes:
- ./monitor/app.json:/home/ethnetintel/eth-net-intelligence-api/app.json:ro
networks:
app_net:
ipv4_address: 172.16.0.100
dashboard:
image: buythewhale/ethstats
volumes:
- ./dashboard/ws_secret.json:/eth-netstats/ws_secret.json:ro
ports:
- 3001:3000
networks:
app_net:
ipv4_address: 172.16.0.200
volumes:
authority0:
authority1:
authority2:
networks:
app_net:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.16.0.1/24
gateway: 172.16.0.1