-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
86 lines (80 loc) · 2.8 KB
/
docker-compose.yml
File metadata and controls
86 lines (80 loc) · 2.8 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
81
82
83
84
85
86
version: "3"
services:
redis-7001:
image: redis:4.0.11
network_mode: "host"
ports:
- "7001:7001"
volumes:
- ./localtime:/usr/share/zoneinfo/Asia/Shanghai:ro
- ./localtime:/etc/localtime:ro
- ./timezone:/etc/timezone:ro
- ./config/redis.conf:/usr/local/etc/redis/redis.conf
- ./data/redis:/data
command:
["redis-server", "/usr/local/etc/redis/redis.conf","--bind","${HOST}","--port","7001","--cluster-config-file node.7001.conf"]
redis-7002:
image: redis:4.0.11
network_mode: "host"
ports:
- "7002:7002"
volumes:
- ./localtime:/usr/share/zoneinfo/Asia/Shanghai:ro
- ./localtime:/etc/localtime:ro
- ./timezone:/etc/timezone:ro
- ./config/redis.conf:/usr/local/etc/redis/redis.conf
- ./data/redis2:/data
command:
["redis-server", "/usr/local/etc/redis/redis.conf","--bind","${HOST}","--port","7002","--cluster-config-file node.7002.conf"]
redis-7003:
image: redis:4.0.11
network_mode: "host"
ports:
- "7003:7003"
volumes:
- ./localtime:/usr/share/zoneinfo/Asia/Shanghai:ro
- ./localtime:/etc/localtime:ro
- ./timezone:/etc/timezone:ro
- ./config/redis.conf:/usr/local/etc/redis/redis.conf
- ./data/redis3:/data
command:
["redis-server", "/usr/local/etc/redis/redis.conf","--bind","${HOST}","--port","7003","--cluster-config-file node.7003.conf"]
redis-7004:
image: redis:4.0.11
network_mode: "host"
ports:
- "7004:7004"
volumes:
- ./localtime:/usr/share/zoneinfo/Asia/Shanghai:ro
- ./localtime:/etc/localtime:ro
- ./timezone:/etc/timezone:ro
- ./config/redis.conf:/usr/local/etc/redis/redis.conf
- ./data/redis4:/data
command:
["redis-server", "/usr/local/etc/redis/redis.conf","--bind","${HOST}","--port","7004","--cluster-config-file node.7004.conf"]
redis-7005:
image: redis:4.0.11
network_mode: "host"
ports:
- "7005:7005"
volumes:
- ./localtime:/usr/share/zoneinfo/Asia/Shanghai:ro
- ./localtime:/etc/localtime:ro
- ./timezone:/etc/timezone:ro
- ./config/redis.conf:/usr/local/etc/redis/redis.conf
- ./data/redis5:/data
command:
["redis-server", "/usr/local/etc/redis/redis.conf","--bind","${HOST}","--port","7005","--cluster-config-file node.7005.conf"]
redis-7006:
image: redis:4.0.11
network_mode: "host"
ports:
- "7006:7006"
volumes:
- ./localtime:/usr/share/zoneinfo/Asia/Shanghai:ro
- ./localtime:/etc/localtime:ro
- ./timezone:/etc/timezone:ro
- ./config/redis.conf:/usr/local/etc/redis/redis.conf
- ./data/redis6:/data
command:
["redis-server", "/usr/local/etc/redis/redis.conf","--bind","${HOST}","--port","7006","--cluster-config-file node.7006.conf"]