Dragonfly

Coolify deploys Dragonfly as a standalone Redis-compatible datastore on the selected server and destination. A new resource gets a generated password, a persistent volume at /data, an internal connection URL, and a health check.

Dragonfly is a Redis-compatible datastore designed for in-memory workloads and multithreaded execution.

Create a Dragonfly database

Open New Resource

Open the project and environment where the database should live, then select New Resource.

Select Dragonfly

Under Databases, select Dragonfly. You can also search for Dragonfly by name.

Select a server

Select the server that should run Dragonfly. Build servers cannot be selected because they do not host running database resources.

Select a destination

Select the Docker network destination that Dragonfly should join.

Review the generated configuration

Coolify creates the resource and opens General. Review the image, generated password, SSL settings, and connection URLs. Keep the default private networking unless an external client requires access.

Start Dragonfly

Select Start and follow the startup output. Wait until Dragonfly is running and healthy, then copy the Dragonfly URL (internal) into applications on the same destination network.

Default configuration

SettingDefault or behavior
Internal port6379; TLS uses 6380
Default imagedocker.dragonflydb.io/dragonflydb/dragonfly
AuthenticationGenerated password
Data mount/data
Scheduled database backupsNot supported by Coolify
SSLSupported with SSL

Dragonfly uses the Redis protocol for its connection URL. It does not expose a username field in the Coolify database form.

Connect to Dragonfly

Use the Dragonfly URL (internal) for an application on the same Coolify destination network:

redis://:<password>@<database-container>:6379/0

With SSL enabled, use the generated rediss URL and TLS port 6380. When Public access > Access is Public through TCP proxy, use the generated Dragonfly URL (public).

Configure Dragonfly

Open General to change the image, password, Port mappings, public proxy, and supported custom Docker options. Open Persistent Storage to manage the /data volume.

Dragonfly's image and command options control persistence behavior. Review the image's documentation before changing the startup options or assuming that in-memory data has been written to disk.

Backups and persistence

Coolify does not create scheduled database backups for Dragonfly. Keep the /data persistent volume and configure Dragonfly's supported snapshot or persistence features when you need recovery copies. Test restores independently.

SSL and health checks

Dragonfly exposes SSL without an SSL mode selector. See Database SSL for the CA certificate mount and TLS connection workflow.

Configure the Docker health check under Healthcheck and restart Dragonfly after saving.

Official Dragonfly resources

Password environment variable

For a new database, REDIS_PASSWORD controls the server password and connection URLs. Databases created before this release keep their stored password unless the variable references a secret manager. After changing a remote secret, restart the database and verify connections.

On this page