Redis sentinel docker image / Dockerfile

后端 未结 2 630
不思量自难忘°
不思量自难忘° 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.

提交回复
热议问题