-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
80 lines (74 loc) · 1.35 KB
/
docker-compose.yaml
File metadata and controls
80 lines (74 loc) · 1.35 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
version: "3"
services:
redis-1:
container_name: redis-1
build:
context: .
args:
port: 7000
ports:
- "127.0.0.1:7000:7000"
networks:
redis-network:
ipv4_address: 192.168.0.2
redis-2:
container_name: redis-2
build:
context: .
args:
port: 7001
ports:
- "127.0.0.1:7001:7001"
networks:
redis-network:
ipv4_address: 192.168.0.3
redis-3:
container_name: redis-3
build:
context: .
args:
port: 7002
ports:
- "127.0.0.1:7002:7002"
networks:
redis-network:
ipv4_address: 192.168.0.4
redis-4:
container_name: redis-4
build:
context: .
args:
port: 7003
ports:
- "127.0.0.1:7003:7003"
networks:
redis-network:
ipv4_address: 192.168.0.5
redis-5:
container_name: redis-5
build:
context: .
args:
port: 7004
ports:
- "127.0.0.1:7004:7004"
networks:
redis-network:
ipv4_address: 192.168.0.6
redis-6:
container_name: redis-6
build:
context: .
args:
port: 7005
ports:
- "127.0.0.1:7005:7005"
networks:
redis-network:
ipv4_address: 192.168.0.7
networks:
redis-network:
driver: bridge
ipam:
config:
- subnet: 192.168.0.0/24