
Redis
Redis cache with optional persistence
Deploy Redis in 3 Steps
Connect Your VPS
Add your server credentials to Server Compass
Select Redis
Choose from our template library
Deploy & Configure
Fill in settings and click Deploy
Install Redis Manually
Set up Redis yourself using Docker Compose and the command line.
Remote into Your Server
Initiate a secure shell connection to your server using the command below.
# Connect to your VPS
ssh root@your-server-ip
# Or with a specific SSH key
ssh -i ~/.ssh/your-key root@your-server-ipFirst time? Docker required! Install it with: curl -fsSL https://get.docker.com | sh
Create the App Directory
Organize your deployment by creating a dedicated project folder.
# Create and navigate to project directory
mkdir -p ~/apps/redis
cd ~/apps/redisWrite Your docker-compose.yml
Create a new docker-compose.yml file and paste this configuration:
services:
redis:
image: redis:7-alpine
ports:
- "6379:6379"
volumes:
- redis_data:/data
command: redis-server --appendonly yes
restart: unless-stopped
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
volumes:
redis_data:
PORTHost port to expose(default: 6379)Launch the Containers
Start the services and tail the logs to verify startup.
# Spin up containers
docker compose up -d
# Verify deployment
docker compose ps
# Check logs for errors
docker compose logs -fOpen Firewall Ports
Open the required port in your firewall to allow access.
# Allow the application port through firewall
sudo ufw allow 6379/tcp
sudo ufw reload
# Access your app at:
# http://your-server-ip:6379Want the easy way? Try Server Compass.
No terminal needed. Deploy Redis through a visual dashboard with automatic configuration.
- Visual config editor
- Instant deployment
- Automatic HTTPS
- Smooth updates
- Live monitoring
- Quick rollbacks
After Deployment
After deploying Redis with Server Compass, complete these steps to finish setup
Test Redis connection
Configure password authentication (strongly recommended)
Set up persistence configuration (RDB/AOF)
Configure maxmemory and eviction policies
Set up monitoring and alerts
Consider setting up Redis Sentinel for high availability
Need help? Check out our documentation for detailed guides.
Redis FAQ
Common questions about self-hosting Redis
How do I deploy Redis with Server Compass?
Simply download Server Compass, connect to your VPS, and select Redis from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
What are the system requirements for Redis?
Redis requires a minimum of 64MB RAM. We recommend a VPS with at least 1024MB RAM for optimal performance. Any modern Linux server with Docker support will work.
Can I migrate my existing Redis data?
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Redis backup and restore procedures.
How do I update Redis to the latest version?
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Redis image will be pulled and deployed with zero downtime.
Is Redis free to self-host?
Redis is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.
Ready to Self-Host Redis?
Download Server Compass and deploy Redis to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass


