-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (52 loc) · 844 Bytes
/
docker-compose.yml
File metadata and controls
52 lines (52 loc) · 844 Bytes
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
version: "3"
services:
node_1:
build: .
command:
[
"java",
"-jar",
"./dist/ModularJavaBlockchain.jar",
"9000",
"172.26.0.2",
"9000",
]
node_2:
build: .
command:
[
"java",
"-jar",
"./dist/ModularJavaBlockchain.jar",
"9001",
"172.26.0.2",
"9000",
]
depends_on:
- node_1
node_3:
build: .
command:
[
"java",
"-jar",
"./dist/ModularJavaBlockchain.jar",
"9003",
"172.26.0.2",
"9000",
]
depends_on:
- node_1
node_4:
build: .
command:
[
"java",
"-jar",
"./dist/ModularJavaBlockchain.jar",
"9004",
"172.26.0.2",
"9000",
]
depends_on:
- node_1