Closed jperville closed 5 years ago
No, we don't support sentinel connection at this moment.
Let me have a look how complicated is to support it, thanks!
As a workaround you could setup a HAProxy if you only need HA https://community.pivotal.io/s/article/How-to-setup-HAProxy-and-Redis-Sentinel-for-automatic-failover-between-Redis-Master-and-Slave-servers
We added MB_FACEBOX_REDIS_SENTINEL
and MB_FACEBOX_REDIS_SENTINEL_MASTER
in the last image, both are in the docs now, please do a pull and let us know if that worked for you
Closing this for now, feel free to reopen in case it doesn't work
I tried to use the machinebox/facebox docker image in an environment where redis instances are configured in High Availability mode using using redis-server and redis-sentinel ( https://redis.io/topics/sentinel ).
Apparently, redis sentinels are not supported. I have only found the MB_FACEBOX_REDIS environment variable which points to the redis master host and port, but I cannot tell facebox to use the sentinel protocol to locate the current redis master.
Is there a set of undocumented environment variables to make this work?