|
@@ -1,7 +1,7 @@
|
|
version: '3'
|
|
version: '3'
|
|
services:
|
|
services:
|
|
sentinel1:
|
|
sentinel1:
|
|
- image: redis
|
|
|
|
|
|
+ image: redis:5.0.11
|
|
container_name: redis-sentinel-1
|
|
container_name: redis-sentinel-1
|
|
ports:
|
|
ports:
|
|
- 26379:26379
|
|
- 26379:26379
|
|
@@ -9,7 +9,7 @@ services:
|
|
volumes:
|
|
volumes:
|
|
- ./sentinel1.conf:/usr/local/etc/redis/sentinel.conf
|
|
- ./sentinel1.conf:/usr/local/etc/redis/sentinel.conf
|
|
sentinel2:
|
|
sentinel2:
|
|
- image: redis
|
|
|
|
|
|
+ image: redis:5.0.11
|
|
container_name: redis-sentinel-2
|
|
container_name: redis-sentinel-2
|
|
ports:
|
|
ports:
|
|
- 26380:26379
|
|
- 26380:26379
|
|
@@ -17,7 +17,7 @@ services:
|
|
volumes:
|
|
volumes:
|
|
- ./sentinel2.conf:/usr/local/etc/redis/sentinel.conf
|
|
- ./sentinel2.conf:/usr/local/etc/redis/sentinel.conf
|
|
sentinel3:
|
|
sentinel3:
|
|
- image: redis
|
|
|
|
|
|
+ image: redis:5.0.11
|
|
container_name: redis-sentinel-3
|
|
container_name: redis-sentinel-3
|
|
ports:
|
|
ports:
|
|
- 26381:26379
|
|
- 26381:26379
|