-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
189 lines (179 loc) · 4.6 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
version: '3'
services:
quorum-builder:
image: quorum-builder
container_name: quorum-builder
build:
context: ./quorum/builder
args:
- BUILD_FROM_MASTER=false
- QUORUM_VERSION=2.0.2
- CONSTELLATION_VERSION=0.3.2
networks:
quorum_net:
ipv4_address: '172.14.0.99'
eth-stats:
build: https://github.com/DeloitteBlockchain/eth-netstats.git
volumes:
- ./logs/eth-stats/:/usr/src/app/log/
ports:
- "3000:3000"
environment:
- WS_SECRET=secret
networks:
quorum_net:
ipv4_address: '172.14.0.77'
quorum1:
build:
context: ./quorum/
args:
- VAR_NODE_ID=1
networks:
quorum_net:
ipv4_address: '172.14.0.11'
volumes:
- ./logs/node1/:/quorum/qdata/logs/
ports:
- "21000:21000"
- "22000:22000"
- "9001:9001"
environment:
- RPCPORT=22000
- PORT=21000
- CONSTELLATION_OTHERNODES_URL=http://172.14.0.11:9001/
- CONSTELLATION_HOST=172.14.0.10
- CONSTELLATION_PORT=9001
- GETH_EXTRA_PARAMS=--unlock 0 --password passwords.txt --targetgaslimit 0x47b760 --ethstats quorum1:secret@eth-stats:3000
quorum2:
build:
context: ./quorum/
args:
- VAR_NODE_ID=2
networks:
quorum_net:
ipv4_address: '172.14.0.12'
volumes:
- ./logs/node2/:/quorum/qdata/logs/
ports:
- "21001:21001"
- "22001:22001"
- "9002:9002"
environment:
- RPCPORT=22001
- PORT=21001
- CONSTELLATION_OTHERNODES_URL=http://172.14.0.11:9001/
- CONSTELLATION_HOST=172.14.0.12
- CONSTELLATION_PORT=9002
- GETH_EXTRA_PARAMS=--targetgaslimit 0x47b760 --ethstats quorum2:secret@eth-stats:3000
quorum3:
build:
context: ./quorum/
args:
- VAR_NODE_ID=3
networks:
quorum_net:
ipv4_address: '172.14.0.13'
volumes:
- ./logs/node3/:/quorum/qdata/logs/
ports:
- "21002:21002"
- "22002:22002"
- "9003:9003"
environment:
- RPCPORT=22002
- PORT=21002
- CONSTELLATION_OTHERNODES_URL=http://172.14.0.11:9001/
- CONSTELLATION_HOST=172.14.0.13
- CONSTELLATION_PORT=9003
- GETH_EXTRA_PARAMS=--targetgaslimit 0x47b760 --ethstats quorum3:secret@eth-stats:3000
quorum4:
build:
context: ./quorum/
args:
- VAR_NODE_ID=4
networks:
quorum_net:
ipv4_address: '172.14.0.14'
volumes:
- ./logs/node4/:/quorum/qdata/logs/
ports:
- "21003:21003"
- "22003:22003"
- "9004:9004"
environment:
- RPCPORT=22003
- PORT=21003
- CONSTELLATION_OTHERNODES_URL=http://172.14.0.11:9001/
- CONSTELLATION_HOST=172.14.0.14
- CONSTELLATION_PORT=9004
- GETH_EXTRA_PARAMS=--targetgaslimit 0x47b760 --ethstats quorum4:secret@eth-stats:3000
quorum5:
build:
context: ./quorum/
args:
- VAR_NODE_ID=5
networks:
quorum_net:
ipv4_address: '172.14.0.15'
volumes:
- ./logs/node5/:/quorum/qdata/logs/
ports:
- "21004:21004"
- "22004:22004"
- "9005:9005"
environment:
- RPCPORT=22004
- PORT=21004
- CONSTELLATION_OTHERNODES_URL=http://172.14.0.11:9001/
- CONSTELLATION_HOST=172.14.0.15
- CONSTELLATION_PORT=9005
- GETH_EXTRA_PARAMS=--targetgaslimit 0x47b760 --ethstats quorum5:secret@eth-stats:3000
quorum6:
build:
context: ./quorum/
args:
- VAR_NODE_ID=6
networks:
quorum_net:
ipv4_address: '172.14.0.16'
volumes:
- ./logs/node6/:/quorum/qdata/logs/
ports:
- "21005:21005"
- "22005:22005"
- "9006:9006"
environment:
- RPCPORT=22005
- PORT=21005
- CONSTELLATION_OTHERNODES_URL=http://172.14.0.11:9001/
- CONSTELLATION_HOST=172.14.0.16
- CONSTELLATION_PORT=9006
- GETH_EXTRA_PARAMS=--targetgaslimit 0x47b760 --ethstats quorum6:secret@eth-stats:3000
quorum7:
build:
context: ./quorum/
args:
- VAR_NODE_ID=7
networks:
quorum_net:
ipv4_address: '172.14.0.17'
volumes:
- ./logs/node7/:/quorum/qdata/logs/
ports:
- "21006:21006"
- "22006:22006"
- "9007:9007"
environment:
- RPCPORT=22006
- PORT=21006
- CONSTELLATION_OTHERNODES_URL=http://172.14.0.11:9001/
- CONSTELLATION_HOST=172.14.0.17
- CONSTELLATION_PORT=9007
- GETH_EXTRA_PARAMS=--targetgaslimit 0x47b760 --ethstats quorum7:secret@eth-stats:3000
networks:
quorum_net:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.14.0.0/16