• Docs
  • Blog
  • Pricing
Get started

Use cases · Databases and stateful services

Production dataWithout a database project

Add the database next to the app. We keep it running so you can keep building.

Attach a databaseSee database hosting

app

storefront

web process

private · :5432

engine

orders-db

{{ orders-db.POSTGRES_URI }}

In the product

The database is a service on the app.

Name it, pick the engine, and the app keeps a private reference.

ApplicationsWorker NodesSecurityIntegrationsBackupsTemplatesAgentDocs

Deploy New Service

Add a database to the production environment of storefront.

AppBuild and deploy from a Git repository.
DockerRun a service from a container image.
DatabasePostgres, MySQL, Redis, and other data stores.

Name

orders-db

Database

Postgres

Image version

16

Before

The URI gets copied. Then it drifts.

Every service pastes the secret. Rotate once, and half the stack is stale.

copied

postgres://user:[email protected]:5432/orders

In env files, CI, and three other services.

reference

{{ orders-db.POSTGRES_URI }}

One source. Consuming apps read the reference.

Engines

The engine your app already uses.

Pick the engine. Port, version, and connection key come with it.

Network

Private by default.

The app reaches the engine on the worker network. Public exposure is a choice.

exposed

public URI

Open to the internet until someone remembers to lock it.

private

service reference

Reachable from services in the same environment.

Recover

Retention is visible before the incident.

Hourly, daily, and weekly keep windows stay on the database where backups are supported.

now

live

6h

hourly

24h

daily

7d

weekly

data

Attach the database.Keep the app connected.

{{ orders-db.POSTGRES_URI }}

Use dFlow when application data should stay close to the workload and readable to the team.

Attach a database
  • GitHubOpens in a new tab
  • DiscordOpens in a new tab
  • LinkedInOpens in a new tab
StatusOpens in a new tab

Product

  • Pricing
  • Application hosting
  • Database hosting
  • Template hosting
  • AI workflow

Resources

  • Features
  • How it works
  • DocsOpens in a new tab
  • dFlow MCPOpens in a new tab
  • Blog
  • Changelog
  • Roadmap
  • Feedback
  • Developers Hub
  • dFlow vs.

Company

  • Enterprise
  • Partners
  • Join dFlow
  • Startup program
  • Affiliate program
  • Trust Center
  • Brand
  • Contact

Use cases

  • All use cases
  • Web applications
  • APIs and services
  • Data services
  • Workers and cron
  • AI apps and agents
  • Internal tools
  • Replace DIY cloud stack
  • Leave Kubernetes overhead
  • SOC 2Coming soon
  • Australian DPA
  • GDPR
  • Moving our trust centerOpens in a new tab

© 2026 dFlow

  • Privacy
  • Cookies
  • Terms
  • AnalyticaOpens in a new tab