-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
72 lines (67 loc) · 1.29 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
version: '3.7'
volumes:
yb1-data:
yb1-master:
yb2-data:
yb2-master:
yb3-data:
yb3-master:
yb4-data:
yb4-master:
services:
yb1:
build:
context: ./
dockerfile: manual.Dockerfile
container_name: yb1
hostname: yb1
ports:
- "7001:7000"
- "9001:9000"
- "5431:5433"
volumes:
- ./app:/app
- yb1-data:/mnt/disk1
- yb1-master:/mnt/disk0
yb2:
build:
context: ./
dockerfile: manual.Dockerfile
container_name: yb2
hostname: yb2
ports:
- "7002:7000"
- "9002:9000"
- "5432:5433"
volumes:
- ./app:/app
- yb2-data:/mnt/disk1
- yb2-master:/mnt/disk0
yb3:
build:
context: ./
dockerfile: manual.Dockerfile
container_name: yb3
hostname: yb3
ports:
- "7003:7000"
- "9003:9000"
- "5433:5433"
volumes:
- ./app:/app
- yb3-data:/mnt/disk1
- yb3-master:/mnt/disk0
yb4:
build:
context: ./
dockerfile: manual.Dockerfile
container_name: yb4
hostname: yb4
ports:
- "7004:7000"
- "9004:9000"
- "5434:5433"
volumes:
- ./app:/app
- yb4-data:/mnt/disk1
- yb4-master:/mnt/disk0