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.
What you get
Section titled “What you get”- Postgres 18 with pgvector for vector embeddings and PostGIS for geospatial queries
- Automatic provisioning — no setup required
- Daily backups with 7-day retention
Connection string
Section titled “Connection string”FluxNow automatically injects DATABASE_URL into your container at deploy time. You do not need to set this manually in your environment variables.
Preview environments
Section titled “Preview environments”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.
Migrations
Section titled “Migrations”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.
Enabling Postgres
Section titled “Enabling Postgres”If Postgres was not auto-detected during import, you can enable it any time from the project dashboard under Settings → Services.