Provision a Dragonfly - a modern, Redis-compatible in-memory store - inside your Rock8Cloud project and connect it to your app in one click. Use it for caching, sessions, and queues with any Redis client.
Provision and connect in one click#
- Add a service. In your project, click Add Service → Database → Dragonfly and pick a storage size.
- Link it. Open your app’s Env vars tab and add the connection variables under the names your framework expects.
- Save. Your app automatically redeploys - connected.
Connect from your app#
When you link the database, you name the variable yourself. Most Redis clients expect REDIS_URL, so link the Connection URL under that name:
# You choose the name when linking - e.g.
REDIS_URL # → redis://HOST:PORT
Linking the connection URL also adds its building blocks automatically - REDIS_HOST and REDIS_PORT appear alongside it, ready to use individually.
When you link, you pick what the variable maps to - Dragonfly offers:
| Link option | Maps to |
|---|---|
| Host | auto-generated hostname |
| Port | 6379 |
| Connection URL | redis://HOST:PORT |
Any Redis client accepts these directly. The instance is network-isolated to your project - reachable by your services, never exposed publicly.
Full reference and troubleshooting in the Dragonfly docs.
Also provision: PostgreSQL · S3 object storage.