How do I deploy a v0 project with a database?

It depends on what v0 built. A v0 project is a Next.js app; if it has API routes, server components or its own data, it belongs on our App plan (€ 15 a month) with a Postgres database included. If it is only a front end, export it as static files and host it on the Website plan for € 10. Both start with 14 free days.

Your v0 projectPlanHow
Front end only, data lives elsewhere or nowhereWebsite, € 10output: "export" in next.config, build, publish the out folder
API routes, server actions, own databaseApp, € 15GitHub workflow, own container and Postgres in the EU

The static route, from your project folder:

npm run build
npx github:dorelli-cloud/cli deploy out --email [email protected]

The app route is one workflow file in your repository. The image is built on GitHub; your app gets DATABASE_URL (Postgres, 1 GB, 10 connections) and listens on PORT. The file is in Deploy an app with a database.

- uses: dorelli-cloud/cli/.github/actions/dorelli-deploy@v1
  with:
    plan: app
    email: [email protected]

Did v0 generate code for Vercel Postgres or Neon? Replace the client with a plain pg or Prisma connection on DATABASE_URL; the SQL stays the same.

Not for

A project that needs Vercel-only features such as Edge Middleware, ISR on the edge or Vercel Blob; those have no equivalent here. An app above 1 GB of data, 10 connections or 10 GB of traffic a month is a Platform plan question, where you pay for what you use.

Checked against the code on 2026-09-22 · Evidence: content/kb/deploy/v0-bolt.md, content/kb/deploy/app.md, lib/config.ts, lib/bundelgrenzen.ts

Was this helpful?

/docs/questions/v0-project-database.md