Back to all templates
Dragonfly logo

Dragonfly

Database512MB+ RAM

Modern Redis-compatible in-memory data store with higher throughput

databasenosqldragonflyopen-sourceself-hosteddocker

Deploy Dragonfly in 3 Steps

1

Connect Your VPS

Add your server credentials to Server Compass

2

Select Dragonfly

Choose from our template library

3

Deploy & Configure

Fill in settings and click Deploy

No Docker knowledge required
Step-by-step deployment guide

Deploy Dragonfly on a VPS with Server Compass

Use the Dragonfly template in Server Compass to deploy a self-hosted Redis-compatible in-memory data store on your VPS, then verify it with Redis CLI commands.

About 10 minutesBrowser verified
1
Step 1

Open the server Apps tab

Select the tutorial-vps VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.

Server Compass Apps tab before creating a Dragonfly app
2
Step 2

Choose an app template

Click New App and choose the template deployment path so Server Compass can load the built-in catalog.

Choosing to deploy an app from a Server Compass template
3
Step 3

Search for Dragonfly

Use the template picker search to find Dragonfly in the Server Compass template catalog.

Searching for Dragonfly in the Server Compass template picker
4
Step 4

Select the Dragonfly template

Choose the Dragonfly template. Server Compass fills the Dragonfly service, persistent data volume, Redis-compatible port, and health check.

Dragonfly template selected in Server Compass
5
Step 5

Review the Dragonfly settings

Confirm the app name and compose service. In this run, the app was named dragonfly-db-demo and used host port 4261.

Reviewing Dragonfly project settings and compose service
6
Step 6

Deploy Dragonfly

Review the generated compose settings, confirm the Dragonfly TCP port is available, and click Deploy.

Reviewing Dragonfly web port before deployment
7
Step 7

Watch the deployment progress

Keep the deployment modal open while Server Compass uploads the compose file, pulls the Dragonfly image, starts the container, and verifies the stack.

Server Compass deploying the Dragonfly template on the VPS
8
Step 8

Confirm Dragonfly is running

After deployment finishes, return to the Apps tab and confirm the Dragonfly app is marked Running with its published port available.

Dragonfly template running in the Server Compass Apps tab
9
Step 9

Verify Dragonfly with Redis CLI

Run Redis-compatible commands inside the Dragonfly container and confirm PING, SET, GET, and INFO return successfully.

Dragonfly service verification output from logs

After Dragonfly Opens

  • Do not expose the unauthenticated Dragonfly port publicly in production.
  • Add password protection with Dragonfly/Redis-compatible auth before trusted clients connect over a network.
  • Restrict the published port to trusted IPs or private networks.
  • Tune memory limits before using Dragonfly for production workloads.
  • Configure snapshotting or persistence settings based on your data durability needs.
  • Monitor memory usage and eviction behavior after real traffic starts.
  • Keep the Dragonfly image updated for performance and security fixes.

Verified Result

Dragonfly returned PONG, stored and retrieved a sample key, and reported server information.

Dragonfly deployment questions

What does the Dragonfly template deploy?

It deploys Dragonfly, a Redis-compatible in-memory data store, with a persistent data volume and published TCP port.

Which port did the tutorial use?

The tutorial used host port 4261, which maps to Dragonfly on container port 6379.

Does Dragonfly need setup after deployment?

No account setup is required. Verify Redis-compatible commands, then add authentication and network restrictions before production use.

Should this become a blog post?

No. The deployment guide should live on the Dragonfly template detail page and be linked from the reusable template deployment docs page.

After Deployment

After deploying Dragonfly with Server Compass, complete these steps to finish setup

1

Test connection with: redis-cli -h YOUR_SERVER_IP -p {{PORT}} ping

2

Configure authentication via --requirepass if exposed publicly

3

Tune memory limits based on your workload

4

Use snapshotting for persistence (configurable via flags)

Need help? Check out our documentation for detailed guides.

Dragonfly FAQ

Common questions about self-hosting Dragonfly

How do I deploy Dragonfly with Server Compass?

Simply download Server Compass, connect to your VPS, and select Dragonfly 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 Dragonfly?

Dragonfly requires a minimum of 512MB 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 Dragonfly data?

Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Dragonfly backup and restore procedures.

How do I update Dragonfly to the latest version?

Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Dragonfly image will be pulled and deployed with zero downtime.

Is Dragonfly free to self-host?

Dragonfly 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 Dragonfly?

Download Server Compass and deploy Dragonfly to your VPS in under 3 minutes. No Docker expertise required.

Download Server Compass