This project is modelled after the setup from the blog post: Create Redis Cluster by Docker Compose by fissssssh. It comes with some minor adjustments that made my experiments easier
This setup consists out of the following components
- redis, version 7.0.10-alpine
- redisinsight, version 1.13.1
Web UI: http://localhost:8001
Will create data folder with required configuration for each container
sh create-config.sh
Fix RedisInsights volume ownership
chown -R 1001 ./data/redisinsight/db
docker-compose up -d
Will create a cluster of 3 primary shards with 1 replica node per shard
sh create-cluster.sh