Configure Redis Sentinels
Hey Folks!
In my production setup I have a 3 node Redis config with 1 master(read/write) and 2 replicas (read) and 3 Redis Sentinel nodes to handle failover and high availability.
Looking at the docker compose file, I only see the option to provide a single Redis host but not a list of Sentinel hosts to connect to. How do I configure Redis Sentinels instead of connecting to a single host?
My config matches example 2 here: https://redis.io/docs/latest/operate/oss_and_stack/management/sentinel/
In my production setup I have a 3 node Redis config with 1 master(read/write) and 2 replicas (read) and 3 Redis Sentinel nodes to handle failover and high availability.
Looking at the docker compose file, I only see the option to provide a single Redis host but not a list of Sentinel hosts to connect to. How do I configure Redis Sentinels instead of connecting to a single host?
My config matches example 2 here: https://redis.io/docs/latest/operate/oss_and_stack/management/sentinel/