Skip to content

Use Managed Postgres in the existing Django app guide - #2694

Merged
alexleventer merged 1 commit into
superfly:mainfrom
theotzen:theotzen/django-existing-managed-postgres
Nov 27, 2026
Merged

alexleventer merged 1 commit into
superfly:mainfrom
theotzen:theotzen/django-existing-managed-postgres

Conversation

@theotzen

@theotzen theotzen commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary of changes

Existing Django apps still creates an unmanaged Fly Postgres cluster and has no complete fly.toml for a web process plus Celery. This:

  • Runs fly launch --db=mpg, with a short list of what the launcher sets up in place of the long sample output, and the same Free plan line as Use Managed Postgres in the Phoenix getting started guide #2672 (fly launch --no-db --no-deploy, fly mpg create --plan dev-256, fly mpg attach, fly deploy).
  • Adds "Complete fly.toml with Celery": a fly.toml with app, worker and beat process groups and the release command, followed by the commands to create and attach Postgres and Redis and deploy.
  • Rewrites "Databases" around Managed Postgres, keeping a pointer to unmanaged Fly Postgres for older apps.

Preview

https://docs.fly.io/django/getting-started/existing (after merge)

Related Fly.io community and GitHub links

Notes

@mintlify

mintlify Bot commented Nov 27, 2026

Copy link
Copy Markdown

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit 1cfeafa.

Approve preview

@theotzen
theotzen requested a review from a team as a code owner November 27, 2026 14:27
@alexleventer
alexleventer merged commit 75e9ff5 into superfly:main Nov 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants