
KeyDB
High-performance Redis-compatible database with multithreading
Deploy KeyDB in 3 Steps
Connect Your VPS
Add your server credentials to Server Compass
Select KeyDB
Choose from our template library
Deploy & Configure
Fill in settings and click Deploy
Set Up KeyDB from Terminal
Get your hands dirty: manual KeyDB deployment guide for developers.
Connect to Your VPS via SSH
Fire up your terminal application and establish a connection to your remote server.
# Access your VPS
ssh root@YOUR_SERVER_IP
# With SSH key authentication
ssh -i ~/.ssh/your-private-key root@YOUR_SERVER_IPFirst time? Ensure Docker is installed first: curl -fsSL https://get.docker.com | sh
Initialize Project Folder
Create a folder to house your Docker Compose configuration.
# Create and navigate to project directory
mkdir -p ~/apps/keydb
cd ~/apps/keydbCreate Docker Configuration
Define your services in a docker-compose.yml file:
services:
keydb:
image: eqalpha/keydb:latest
ports:
- "6379:6379"
volumes:
- keydb_data:/data
command: keydb-server --appendonly yes --server-threads 2
restart: unless-stopped
healthcheck:
test: ["CMD", "keydb-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
volumes:
keydb_data:
PORTHost port(default: 6379)Execute the Deployment
Start your containers and verify they're running correctly.
# Launch the stack
docker compose up -d
# Verify container status
docker compose ps
# Follow the logs
docker compose logs --followAllow Network Access
Update UFW rules to allow traffic on the application port.
# Allow the application port through firewall
sudo ufw allow 6379/tcp
sudo ufw reload
# Access your app at:
# http://your-server-ip:6379Don't want to type commands? We've got you.
Why type commands when you can click? Deploy KeyDB the easy way with Server Compass.
- No terminal required
- Point-and-click setup
- Auto SSL certificates
- Rolling deployments
- Health monitoring
- Instant rollbacks
After Deployment
After deploying KeyDB with Server Compass, complete these steps to finish setup
Test connection with redis-cli
Configure authentication
Tune server-threads based on CPU cores
Need help? Check out our documentation for detailed guides.
KeyDB FAQ
Common questions about self-hosting KeyDB
How do I deploy KeyDB with Server Compass?
Simply download Server Compass, connect to your VPS, and select KeyDB 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 KeyDB?
KeyDB requires a minimum of 128MB 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 KeyDB data?
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard KeyDB backup and restore procedures.
How do I update KeyDB to the latest version?
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest KeyDB image will be pulled and deployed with zero downtime.
Is KeyDB free to self-host?
KeyDB 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 KeyDB?
Download Server Compass and deploy KeyDB to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass


