-
Notifications
You must be signed in to change notification settings - Fork 19
/
docker-compose.yml
49 lines (47 loc) · 1.12 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
version: '3'
services:
redis-cluster:
image: 'grokzen/redis-cluster:6.0.9'
environment:
IP: 0.0.0.0
SENTINEL: 'false'
STANDALONE: '1'
hostname: server
ports:
- '7000-7050:7000-7050'
redis-monitor:
image: 'redis'
command: 'redis-cli -p 7000 -h redis-cluster monitor'
restart: always
depends_on:
- redis-cluster
redis-monitor2:
image: 'redis'
command: 'redis-cli -p 7001 -h redis-cluster monitor'
restart: always
depends_on:
- redis-cluster
redis-monitor3:
image: 'redis'
command: 'redis-cli -p 7002 -h redis-cluster monitor'
restart: always
depends_on:
- redis-cluster
redis-monitor4:
image: 'redis'
command: 'redis-cli -p 7003 -h redis-cluster monitor'
restart: always
depends_on:
- redis-cluster
redis-monitor5:
image: 'redis'
command: 'redis-cli -p 7004 -h redis-cluster monitor'
restart: always
depends_on:
- redis-cluster
redis-monitor6:
image: 'redis'
command: 'redis-cli -p 7005 -h redis-cluster monitor'
restart: always
depends_on:
- redis-cluster