-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-12.yaml
More file actions
208 lines (208 loc) · 6.38 KB
/
docker-compose-12.yaml
File metadata and controls
208 lines (208 loc) · 6.38 KB
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
services:
node1:
build:
context: .
dockerfile: Dockerfile
image: trieve/threshold
environment:
- KEY_PASSWORD=supersecret
- IS_TESTNET=true
- RUST_LOG=info
entrypoint: "/app/cli run --key-file-path /app/configs/node_1.json --config-file-path /app/configs/node_1.yaml --use-mock-oracle"
ports:
- "50057:50051"
volumes:
- ./keys/12_nodes/node_1/node_1.json:/app/configs/node_1.json
- ./keys/12_nodes/node_1/node_1.yaml:/app/configs/node_1.yaml
networks:
- threshold
node2:
build:
context: .
dockerfile: Dockerfile
image: trieve/threshold
environment:
- KEY_PASSWORD=supersecret
- IS_TESTNET=true
- RUST_LOG=info
entrypoint: "/app/cli run --key-file-path /app/configs/node_2.json --config-file-path /app/configs/node_2.yaml --use-mock-oracle"
ports:
- "50058:50051"
volumes:
- ./keys/12_nodes/node_2/node_2.json:/app/configs/node_2.json
- ./keys/12_nodes/node_2/node_2.yaml:/app/configs/node_2.yaml
networks:
- threshold
node3:
build:
context: .
dockerfile: Dockerfile
image: trieve/threshold
environment:
- KEY_PASSWORD=supersecret
- IS_TESTNET=true
- RUST_LOG=info
entrypoint: "/app/cli run --key-file-path /app/configs/node_3.json --config-file-path /app/configs/node_3.yaml --use-mock-oracle"
ports:
- "50059:50051"
volumes:
- ./keys/12_nodes/node_3/node_3.json:/app/configs/node_3.json
- ./keys/12_nodes/node_3/node_3.yaml:/app/configs/node_3.yaml
networks:
- threshold
node4:
build:
context: .
dockerfile: Dockerfile
image: trieve/threshold
environment:
- KEY_PASSWORD=supersecret
- IS_TESTNET=true
- RUST_LOG=info
entrypoint: "/app/cli run --key-file-path /app/configs/node_4.json --config-file-path /app/configs/node_4.yaml --use-mock-oracle"
ports:
- "50060:50051"
volumes:
- ./keys/12_nodes/node_4/node_4.json:/app/configs/node_4.json
- ./keys/12_nodes/node_4/node_4.yaml:/app/configs/node_4.yaml
networks:
- threshold
node5:
build:
context: .
dockerfile: Dockerfile
image: trieve/threshold
environment:
- KEY_PASSWORD=supersecret
- IS_TESTNET=true
- RUST_LOG=info
entrypoint: "/app/cli run --key-file-path /app/configs/node_5.json --config-file-path /app/configs/node_5.yaml --use-mock-oracle"
ports:
- "50061:50051"
volumes:
- ./keys/12_nodes/node_5/node_5.json:/app/configs/node_5.json
- ./keys/12_nodes/node_5/node_5.yaml:/app/configs/node_5.yaml
networks:
- threshold
node6:
build:
context: .
dockerfile: Dockerfile
image: trieve/threshold
environment:
- KEY_PASSWORD=supersecret
- IS_TESTNET=true
- RUST_LOG=info
entrypoint: "/app/cli run --key-file-path /app/configs/node_6.json --config-file-path /app/configs/node_6.yaml --use-mock-oracle"
ports:
- "50062:50051"
volumes:
- ./keys/12_nodes/node_6/node_6.json:/app/configs/node_6.json
- ./keys/12_nodes/node_6/node_6.yaml:/app/configs/node_6.yaml
networks:
- threshold
node7:
build:
context: .
dockerfile: Dockerfile
image: trieve/threshold
environment:
- KEY_PASSWORD=supersecret
- IS_TESTNET=true
- RUST_LOG=info
entrypoint: "/app/cli run --key-file-path /app/configs/node_7.json --config-file-path /app/configs/node_7.yaml --use-mock-oracle"
ports:
- "50063:50051"
volumes:
- ./keys/12_nodes/node_7/node_7.json:/app/configs/node_7.json
- ./keys/12_nodes/node_7/node_7.yaml:/app/configs/node_7.yaml
networks:
- threshold
node8:
build:
context: .
dockerfile: Dockerfile
image: trieve/threshold
environment:
- KEY_PASSWORD=supersecret
- IS_TESTNET=true
- RUST_LOG=info
entrypoint: "/app/cli run --key-file-path /app/configs/node_8.json --config-file-path /app/configs/node_8.yaml --use-mock-oracle"
ports:
- "50064:50051"
volumes:
- ./keys/12_nodes/node_8/node_8.json:/app/configs/node_8.json
- ./keys/12_nodes/node_8/node_8.yaml:/app/configs/node_8.yaml
networks:
- threshold
node9:
build:
context: .
dockerfile: Dockerfile
image: trieve/threshold
environment:
- KEY_PASSWORD=supersecret
- IS_TESTNET=true
- RUST_LOG=info
entrypoint: "/app/cli run --key-file-path /app/configs/node_9.json --config-file-path /app/configs/node_9.yaml --use-mock-oracle"
ports:
- "50065:50051"
volumes:
- ./keys/12_nodes/node_9/node_9.json:/app/configs/node_9.json
- ./keys/12_nodes/node_9/node_9.yaml:/app/configs/node_9.yaml
networks:
- threshold
node10:
build:
context: .
dockerfile: Dockerfile
image: trieve/threshold
environment:
- KEY_PASSWORD=supersecret
- IS_TESTNET=true
- RUST_LOG=info
entrypoint: "/app/cli run --key-file-path /app/configs/node_10.json --config-file-path /app/configs/node_10.yaml --use-mock-oracle"
ports:
- "50066:50051"
volumes:
- ./keys/12_nodes/node_10/node_10.json:/app/configs/node_10.json
- ./keys/12_nodes/node_10/node_10.yaml:/app/configs/node_10.yaml
networks:
- threshold
node11:
build:
context: .
dockerfile: Dockerfile
image: trieve/threshold
environment:
- KEY_PASSWORD=supersecret
- IS_TESTNET=true
- RUST_LOG=info
entrypoint: "/app/cli run --key-file-path /app/configs/node_11.json --config-file-path /app/configs/node_11.yaml --use-mock-oracle"
ports:
- "50067:50051"
volumes:
- ./keys/12_nodes/node_11/node_11.json:/app/configs/node_11.json
- ./keys/12_nodes/node_11/node_11.yaml:/app/configs/node_11.yaml
networks:
- threshold
node12:
build:
context: .
dockerfile: Dockerfile
image: trieve/threshold
environment:
- KEY_PASSWORD=supersecret
- IS_TESTNET=true
- RUST_LOG=info
entrypoint: "/app/cli run --key-file-path /app/configs/node_12.json --config-file-path /app/configs/node_12.yaml --use-mock-oracle"
ports:
- "50068:50051"
volumes:
- ./keys/12_nodes/node_12/node_12.json:/app/configs/node_12.json
- ./keys/12_nodes/node_12/node_12.yaml:/app/configs/node_12.yaml
networks:
- threshold
networks:
threshold:
driver: bridge