-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
70 lines (70 loc) · 1.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
version: '3'
services:
node1:
container_name: node-1
build: .
cap_add:
- ALL
command: bash -c "./start-apis.sh"
volumes:
- ./miner:/root/miner
- ./dashboard:/root/dashboard
- ./runtime/node-1:/root/start
- ./Apiscerana/apiscerana-microservice-iam/target:/root/apiscerana
networks:
vpcbr:
ipv4_address: 10.7.0.11
ports:
- "35001:8080"
- "5000:5000"
node2:
container_name: node-2
build: .
cap_add:
- ALL
command: bash -c "./start-apis.sh"
volumes:
- ./miner:/root/miner
- ./runtime/node-2:/root/start
- ./Apiscerana/apiscerana-microservice-iam/target:/root/apiscerana
networks:
vpcbr:
ipv4_address: 10.7.0.12
ports:
- "35002:8080"
node3:
container_name: node-3
build: .
cap_add:
- ALL
command: bash -c "./start-apis.sh"
volumes:
- ./miner:/root/miner
- ./runtime/node-3:/root/start
- ./Apiscerana/apiscerana-microservice-iam/target:/root/apiscerana
networks:
vpcbr:
ipv4_address: 10.7.0.13
ports:
- "35003:8080"
node4:
container_name: node-4
build: .
cap_add:
- ALL
command: bash -c "./start-apis.sh"
volumes:
- ./miner:/root/miner
- ./runtime/node-4:/root/start
- ./Apiscerana/apiscerana-microservice-iam/target:/root/apiscerana
networks:
vpcbr:
ipv4_address: 10.7.0.14
ports:
- "35004:8080"
networks:
vpcbr:
driver: bridge
ipam:
config:
- subnet: 10.7.0.0/16