File tree Expand file tree Collapse file tree 4 files changed +8
-35
lines changed
src/test/resources/docker-env
redis-standalone-4/config/node-sentinel-26381
redis-standalone-sentinel-controlled/config Expand file tree Collapse file tree 4 files changed +8
-35
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,11 @@ services:
3535 container_name : redis-standalone-4
3636 volumes :
3737 - ./redis-standalone-4/config:/redis/config:r
38+ environment :
39+ - REDIS_CLUSTER=no
3840 ports :
3941 - " 6484:6484"
42+ - " 26381:26381"
4043 networks :
4144 - redis-network
4245
@@ -48,44 +51,14 @@ services:
4851 volumes :
4952 - ./redis-standalone-sentinel-controlled/config:/redis/config:r
5053 ports :
54+ - " 26380:26380"
55+ - " 26379:26379"
5156 - " 6482:6482"
5257 - " 6483:6483"
5358 networks :
5459 - redis-network
5560
5661
57-
58- # Sentinel Nodes
59- sentinel-1 :
60- image : redislabs/client-libs-test:8.0-M02
61- container_name : sentinel-1
62- volumes :
63- - ./sentinel-1/config:/redis/config:r
64- ports :
65- - " 26379:26379"
66- networks :
67- - redis-network
68-
69- sentinel-2 :
70- image : redislabs/client-libs-test:8.0-M02
71- container_name : sentinel-2
72- volumes :
73- - ./sentinel-2/config:/redis/config:r
74- ports :
75- - " 26380:26380"
76- networks :
77- - redis-network
78-
79- sentinel-3 :
80- image : redislabs/client-libs-test:8.0-M02
81- container_name : sentinel-3
82- volumes :
83- - ./sentinel-3/config:/redis/config:r
84- ports :
85- - " 26381:26381"
86- networks :
87- - redis-network
88-
8962 ssl-test-cluster :
9063 image : redislabs/client-libs-test:8.0-M02
9164 container_name : ssl-test-cluster
Original file line number Diff line number Diff line change 11port 26381
2- sentinel monitor mymaster localhost 6482 1
2+ sentinel monitor mymaster localhost 6484 1
33sentinel announce-hostnames yes
44sentinel resolve-hostnames yes
55sentinel announce-ip localhost
66sentinel down-after-milliseconds mymaster 200
77sentinel failover-timeout mymaster 200
88sentinel parallel-syncs mymaster 1
9+ sentinel auth-pass mymaster foobared
910unixsocket /work/socket-26381
10- unixsocketperm 777
11- requirepass foobared
11+ unixsocketperm 777
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments