Skip to content

Postgres

FluxNow provisions a managed Postgres database when your project is detected to need one, or when you enable it manually in the review panel.

  • Postgres 18 with pgvector for vector embeddings and PostGIS for geospatial queries
  • Automatic provisioning — no setup required
  • Daily backups with 7-day retention

FluxNow automatically injects DATABASE_URL into your container at deploy time. You do not need to set this manually in your environment variables.

Each pull request preview environment gets its own isolated Postgres database. The schema is branched from staging at preview creation time, so your migrations and seed data are available in previews from the start.

Configure a migration command in the project dashboard (for example, bun run db:migrate or python manage.py migrate). The command runs before each deploy, inside your container image, against the target environment’s database.

If Postgres was not auto-detected during import, you can enable it any time from the project dashboard under Settings → Services.