Redis sentinel docker image / Dockerfile

后端 未结 2 631
不思量自难忘°
不思量自难忘° 2021-02-04 15:26

I\'m looking to deploy high availability Redis on a coreOS cluster, and I need a Redis Sentinel docker image (i.e. Dockerfile) that works. I\'ve gathered enough information/expe

相关标签:
2条回答
  • 2021-02-04 15:27

    There is no need for a custom sentinel image, or messing with the network. See my redis-ha-learning project using Spring Data Redis, bitnami/redis and bitnami/redis-sentinel images. The Docker Compose file is here. My code auto detects the sentinels based on the Docker Compose container names.

    0 讨论(0)
  • 2021-02-04 15:46

    After a ton of work, I ended up figuring this out. Here's to making it simple for anyone else who wants to deploy a highly available redis instance via Docker:

    https://registry.hub.docker.com/u/joshula/redis-sentinel/

    0 讨论(0)
提交回复
热议问题