forked from redis/rueidis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
93 lines (92 loc) · 2.61 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: "3.8"
services:
redis:
image: redis:7.2-rc-alpine
ports:
- "6379:6379"
redislock:
image: redis:7.2-rc-alpine
ports:
- "6376:6379"
redis5:
image: redis:5-alpine
ports:
- "6355:6379"
keydb6:
image: eqalpha/keydb:alpine_x86_64_v6.3.1
ports:
- "6344:6379"
dragonflydb:
image: docker.dragonflydb.io/dragonflydb/dragonfly:v1.1.2
ports:
- "6333:6379"
kvrocks:
image: apache/kvrocks:2.2.0
ports:
- "6666:6666"
redisearch:
image: redislabs/redisearch:2.4.9
ports:
- "6377:6379"
compat:
image: redis:7.2-rc-alpine
ports:
- "6378:6379"
compat5:
image: redis:5-alpine
ports:
- "6356:6379"
sentinel:
image: redis:7.2-rc-alpine
entrypoint:
- /bin/sh
- -c
- |
redis-server --save "" --appendonly no --port 6380 &
echo "sentinel monitor test 127.0.0.1 6380 2\n" > sentinel.conf
redis-server sentinel.conf --sentinel
ports:
- "6380:6380"
- "26379:26379"
sentinel5:
image: redis:5-alpine
entrypoint:
- /bin/sh
- -c
- |
redis-server --save "" --appendonly no --port 6385 &
echo "sentinel monitor test5 127.0.0.1 6385 2\n" > sentinel.conf
redis-server sentinel.conf --sentinel
ports:
- "6385:6385"
- "26355:26379"
cluster:
image: redis:7.2-rc-alpine
entrypoint:
- /bin/sh
- -c
- |
redis-server --port 7001 --save "" --appendonly no --cluster-enabled yes --cluster-config-file 7001.conf &
redis-server --port 7002 --save "" --appendonly no --cluster-enabled yes --cluster-config-file 7002.conf &
redis-server --port 7003 --save "" --appendonly no --cluster-enabled yes --cluster-config-file 7003.conf &
while ! redis-cli --cluster create 127.0.0.1:7001 127.0.0.1:7002 127.0.0.1:7003 --cluster-yes; do sleep 1; done
wait
ports:
- "7001:7001"
- "7002:7002"
- "7003:7003"
cluster5:
image: redis:5-alpine
entrypoint:
- /bin/sh
- -c
- |
redis-server --port 7004 --save "" --appendonly no --cluster-enabled yes --cluster-config-file 7004.conf &
redis-server --port 7005 --save "" --appendonly no --cluster-enabled yes --cluster-config-file 7005.conf &
redis-server --port 7006 --save "" --appendonly no --cluster-enabled yes --cluster-config-file 7006.conf &
while ! redis-cli --cluster create 127.0.0.1:7004 127.0.0.1:7005 127.0.0.1:7006 --cluster-yes; do sleep 1; done
wait
ports:
- "7004:7004"
- "7005:7005"
- "7006:7006"