Redis Cluster via Docker Compose with --scale capability using Redis 4's new NAT/port-forwarding support. Reddie is included so you can check out your new cluster!
Docker and Docker Compose installed.
Choose a number of nodes for the cluster (at least 6)
Launch cluster
docker-compose up -d --scale redis=9
docker-compose logs -f
It takes a little while.
Remove containers
docker-compose rm -f
Using Reddie
Navigate to https://localhost
to access Reddie.
Modify the ./build.sh
file to have a new version
Run ./build.sh
to build the images required in the compose and push them to the docker repository at docker.sendgrid.net/sendgrid/mcauto-test-cluster-redis:${VERSION}