mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-06 22:23:53 -05:00
Sink for Redis Sentinel
- Create a
.envfrom.env.example - The HOST_IP value must be your host ip, so that redis inside the containers can connect to it and switch over as needed.
To test Sentinel is working correctly
- Run
docker exec -it sentinel-2 redis-cli -p 26379 sentinel get-master-addr-by-name mymaster
- Run
docker-compose -f docker-compose.sentinel.yml stop redis-master
- Again running step 1 should show the other replica port.