-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
70 lines (64 loc) · 1.29 KB
/
docker-compose.yaml
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.4"
networks:
nodedb:
name: nodedb
ipam:
driver: default
config:
- subnet: 172.20.0.0/24
services:
node-a:
build: .
ports:
- 9601:9605
networks:
nodedb:
ipv4_address: 172.20.0.101
volumes:
- ./config/node-a.yaml:/etc/node.yaml
- ./tmp:/etc/node
- ./tmp/nodedb-a:/var/lib/nodedb
node-b:
build: .
ports:
- 9602:9605
networks:
nodedb:
ipv4_address: 172.20.0.102
volumes:
- ./config/node-b.yaml:/etc/node.yaml
- ./tmp:/etc/node
- ./tmp/nodedb-b:/var/lib/nodedb
node-c:
build: .
ports:
- 9603:9605
networks:
nodedb:
ipv4_address: 172.20.0.103
volumes:
- ./config/node-c.yaml:/etc/node.yaml
- ./tmp:/etc/node
- ./tmp/nodedb-c:/var/lib/nodedb
node-d:
build: .
ports:
- 9604:9605
networks:
nodedb:
ipv4_address: 172.20.0.104
volumes:
- ./config/node-d.yaml:/etc/node.yaml
- ./tmp:/etc/node
- ./tmp/nodedb-d:/var/lib/nodedb
node-e:
build: .
ports:
- 9605:9605
networks:
nodedb:
ipv4_address: 172.20.0.105
volumes:
- ./config/node-e.yaml:/etc/node.yaml
- ./tmp:/etc/node
- ./tmp/nodedb-e:/var/lib/nodedb