dFlow
Guides

Deploy a database

Add a managed database Service inside an Application, deploy it, and connect credentials.

In dFlow, a managed database runs as a database Service inside an Application (not as a separate add-on outside the model).

Prerequisites

  • An Application with compute attached so the Environment can schedule the database Service (see Getting Started).
  • You know which engine you need (PostgreSQL, MySQL, MongoDB, Redis, and others shown in the UI).

1. Add a database Service

  1. Open your Application and the Environment where the database should run.
  2. Create Service (or Add new) and choose a database type.
  3. Set name, version (if offered), storage, and credentials as prompted.

2. Deploy

  1. Save the Service configuration.
  2. Click Deploy or Redeploy so the database is provisioned on the Worker Node.

Expected outcome: The database Service shows a successful Deployment and a healthy status in the UI.

3. Get credentials and connect

  1. Open the Service detail page and find connection details or generated variables.
  2. Reference those values from app or Docker Services via reference variables (Service settings).
  3. For external tools, see Database credentials and connections under Databases.

If something fails

  • Database troubleshooting under Databases
  • Deployment issues under Troubleshooting

Go deeper

On this page