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
- Open your Application and the Environment where the database should run.
- Create Service (or Add new) and choose a database type.
- Set name, version (if offered), storage, and credentials as prompted.
2. Deploy
- Save the Service configuration.
- 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
- Open the Service detail page and find connection details or generated variables.
- Reference those values from app or Docker Services via reference variables (Service settings).
- For external tools, see Database credentials and connections under Databases.
If something fails
- Database troubleshooting under Databases
- Deployment issues under Troubleshooting
Go deeper
- Create a database service
- Engine pages under Databases (PostgreSQL, MongoDB, and others)
- Deploy an app to consume the connection string