Redis Cluster using Docker Swarm


Has anyone been able to implement Redis 5.x cluster using Docker Swarm?
I am trying to implement the same but the roadblock is that Redis Clustering works with IP and Port mapping and doesn’t support NAT’ed environments. Any suggestions would be appreciated.
I am trying to implement this in an overlay network with scaling support such that scaling the Redis service would allow it to join with the cluster in real-time.

Hi, have you finished redis cluster via Docker Swarm?

Yes. I have completed redis cluster via Docker Swarm.
I can share the mechanism if you’re interested.

can you please share your findings, I want to have redis running in docker swam mode.

Please provide your compose file.


hello, can you share you yml file please? thanks a lot