mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-08 23:18:05 -05:00
Redis Cluster Setup
Quick Start
-
Update IP Address: Replace
192.168.1.33with your system's IP address indocker-compose.yml:# Find your IP ifconfig | grep "inet " | grep -v 127.0.0.1 | awk '{print $2}' | head -1 -
Start Cluster:
docker compose up -d -
Verify Cluster:
docker exec redis-node-1 redis-cli -p 7001 cluster info
Connection Details
- Redis Cluster:
YOUR_IP:7001,YOUR_IP:7002,YOUR_IP:7003 - RedisInsight UI:
localhost:5540
Clean Restart
To completely reset the cluster:
docker compose down -v
# Update IP in docker-compose.yml if needed
docker compose up -d
External Docker Compose Usage
environment:
- REDIS_CLUSTER_URLS=redis://YOUR_IP:7001,redis://YOUR_IP:7002,redis://YOUR_IP:7003
Important: Always replace YOUR_IP with your actual system IP address.