GitHunt
BR

brunojppb/redis-cluster-demo

Redis Cluster with multiple shards and replicas using Docker for development

Redis Cluster Demo

How to use a redis cluster with multiple shards using Docker and docker-compose. You can read the full blogpost about this setup here.

Redis Cluster blogpost

Please note: This is not meant to be used in production, but for local development only.
There is no point in using a Redis cluster in the same node using this docker-compose setup. If your node is down, your entire Redis cluster will be down.

Languages

JavaScript48.5%Handlebars25.0%Shell13.4%CSS9.0%Dockerfile4.1%

Contributors

Created July 29, 2021
Updated February 27, 2026