11---
22
33services :
4-
5- redis-stanalone :
6- image : redislabs/client-libs-test:8.0-M02
4+ redis :
5+ image : ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:7.4.1}
76 container_name : redis-standalone
87 environment :
8+ - TLS_ENABLED=yes
99 - REDIS_CLUSTER=no
1010 - PORT=6379
1111 - TLS_PORT=6666
12-
12+ command : ${REDIS_EXTRA_ARGS:---enable-debug-command yes --enable-module-command yes --tls-auth-clients optional --save ""}
1313 ports :
1414 - 6379:6379
15- - 6380:6379
1615 - 6666:6666 # TLS port
1716 volumes :
18- - " ./dockers/redis- standalone:/redis/work"
17+ - " ./dockers/standalone:/redis/work"
1918 profiles :
2019 - standalone
20+ - sentinel
21+ - all-stack
22+ - all
23+
24+ cluster :
25+ image : ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:7.4.1}
26+ container_name : redis-cluster
27+ environment :
28+ - NODES=6
29+ - PORT=16600
30+ command : " --cluster-enabled yes"
31+ ports :
32+ - " 16600-16605:16600-16605"
33+ volumes :
34+ - " ./dockers/cluster:/redis/work"
35+ profiles :
36+ - cluster
37+ - all-stack
38+ - all
39+
40+ sentinel :
41+ image : ${REDIS_IMAGE:-redis:7.4.1}
42+ container_name : redis-sentinel
43+ depends_on :
44+ - redis
45+ entrypoint : " redis-sentinel /redis.conf --port 26379"
46+ ports :
47+ - 26379:26379
48+ volumes :
49+ - " ./dockers/sentinel.conf:/redis.conf"
50+ profiles :
51+ - sentinel
52+ - all-stack
2153 - all
54+
55+ sentinel2 :
56+ image : ${REDIS_IMAGE:-redis:7.4.1}
57+ container_name : redis-sentinel2
58+ depends_on :
59+ - redis
60+ entrypoint : " redis-sentinel /redis.conf --port 26380"
61+ ports :
62+ - 26380:26380
63+ volumes :
64+ - " ./dockers/sentinel.conf:/redis.conf"
65+ profiles :
66+ - sentinel
67+ - all-stack
68+ - all
69+
70+ sentinel3 :
71+ image : ${REDIS_IMAGE:-redis:7.4.1}
72+ container_name : redis-sentinel3
73+ depends_on :
74+ - redis
75+ entrypoint : " redis-sentinel /redis.conf --port 26381"
76+ ports :
77+ - 26381:26381
78+ volumes :
79+ - " ./dockers/sentinel.conf:/redis.conf"
80+ profiles :
81+ - sentinel
82+ - all-stack
83+ - all
84+
85+ redisRing1 :
86+ image : ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:7.4.1}
87+ container_name : redis-ring-1
88+ environment :
89+ - TLS_ENABLED=yes
90+ - REDIS_CLUSTER=no
91+ - PORT=6390
92+ command : ${REDIS_EXTRA_ARGS:---enable-debug-command yes --enable-module-command yes --tls-auth-clients optional --save ""}
93+ ports :
94+ - 6390:6390
95+ volumes :
96+ - " ./dockers/ring1:/redis/work"
97+ profiles :
98+ - ring
99+ - cluster
100+ - sentinel
101+ - all-stack
102+ - all
103+
104+ redisRing2 :
105+ image : ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:7.4.1}
106+ container_name : redis-ring-2
107+ environment :
108+ - TLS_ENABLED=yes
109+ - REDIS_CLUSTER=no
110+ - PORT=6391
111+ command : ${REDIS_EXTRA_ARGS:---enable-debug-command yes --enable-module-command yes --tls-auth-clients optional --save ""}
112+ ports :
113+ - 6391:6391
114+ volumes :
115+ - " ./dockers/ring2:/redis/work"
116+ profiles :
117+ - ring
118+ - cluster
119+ - sentinel
120+ - all-stack
121+ - all
122+
123+ redisRing3 :
124+ image : ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:7.4.1}
125+ container_name : redis-ring-3
126+ environment :
127+ - TLS_ENABLED=yes
128+ - REDIS_CLUSTER=no
129+ - PORT=6392
130+ command : ${REDIS_EXTRA_ARGS:---enable-debug-command yes --enable-module-command yes --tls-auth-clients optional --save ""}
131+ ports :
132+ - 6392:6392
133+ volumes :
134+ - " ./dockers/ring3:/redis/work"
135+ profiles :
136+ - ring
137+ - cluster
138+ - sentinel
139+ - all-stack
140+ - all
0 commit comments