This repository provides methods to deploy Redis Sentinel using different orchestration tools:
docker-1-node
folder.Run the following command:
docker compose -f docker-compose-all-in-1-node.yml up -d
docker-3-node
folder.Run the following command on each node accordingly:
docker compose -f docker-compose-node1.yml up -d
docker-swarm
folder.Run the following command:
docker stack deploy -c 'docker-compose-swarm.yml' -d redis
Add the Redis Helm repository:
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
Install the Redis Sentinel:
helm upgrade --install redis-sentinel bitnami/redis \
--set global.redis.password=redis \
--set sentinel.enabled=true \
--set replica.persistence.size=4Gi \
--set metrics.enabled=true