A sentinel implementation for redis in high availability
470
By default this image creates a Sentinel instance which monitors a redis cluster. You must pass in the redis master ip (or docker name) of your pre-configured redis cluster as an environment variable (MASTER_ADDR), and make sure all sentinel instances run on the same network as your redis cluster.
Also, note that by default the image expects to form a quorum of three Sentinel instances, so you must launch three docker containters pointing to the same master in order for Sentinel to work.
docker run -d --name sentinel1 --net redisnet -e MASTER_ADDR=master devopsbq/sentinel:latest
docker run -d --name sentinel1 --net redisnet -e MASTER_ADDR=master devopsbq/sentinel:latest
docker run -d --name sentinel1 --net redisnet -e MASTER_ADDR=master devopsbq/sentinel:latest
Here are the environment variables you can set:
Please check Sentinel's homepage for further information.
Content type
Image
Digest
Size
58.9 MB
Last updated
over 10 years ago
docker pull devopsbq/sentinel