---
titel_en: How do I deploy a v0 project with a database?
titel_nl: Hoe deploy ik een v0-project met database?
categorie: questions
bundels: website, app
geverifieerd_op: 2026-09-22
bewijs: content/kb/deploy/v0-bolt.md, content/kb/deploy/app.md, lib/config.ts, lib/bundelgrenzen.ts
zoekwoorden: v0, vercel, next, database, deploy, postgres, export
---
## en
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 project | Plan | How |
|---|---|---|
| Front end only, data lives elsewhere or nowhere | Website, € 10 | `output: "export"` in `next.config`, build, publish the `out` folder |
| API routes, server actions, own database | App, € 15 | GitHub workflow, own container and Postgres in the EU |

The static route, from your project folder:

```bash
npm run build
npx github:dorelli-cloud/cli deploy out --email you@example.com
```

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](/docs/deploy/app).

```yaml
- uses: dorelli-cloud/cli/.github/actions/dorelli-deploy@v1
  with:
    plan: app
    email: you@example.com
```

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.

## nl
Dat hangt af van wat v0 heeft gebouwd. Een v0-project is een Next.js-app; heeft het API-routes, servercomponenten of eigen data, dan hoort het op onze App-bundel (€ 15 per maand) met een Postgres-database erbij. Is het alleen een voorkant, exporteer het dan als statische bestanden en host het op de Website-bundel voor € 10. Allebei beginnen met 14 gratis dagen.

| Jouw v0-project | Bundel | Hoe |
|---|---|---|
| Alleen voorkant, data staat elders of nergens | Website, € 10 | `output: "export"` in `next.config`, bouwen, de map `out` publiceren |
| API-routes, server actions, eigen database | App, € 15 | GitHub-workflow, eigen container en Postgres in de EU |

De statische route, vanuit je projectmap:

```bash
npm run build
npx github:dorelli-cloud/cli deploy out --email jij@voorbeeld.nl
```

De app-route is één workflowbestand in je repository. Het image wordt op GitHub gebouwd; je app krijgt `DATABASE_URL` (Postgres, 1 GB, 10 verbindingen) en luistert op `PORT`. Het bestand staat in [Een app met database deployen](/docs/deploy/app).

```yaml
- uses: dorelli-cloud/cli/.github/actions/dorelli-deploy@v1
  with:
    plan: app
    email: jij@voorbeeld.nl
```

Heeft v0 code gemaakt voor Vercel Postgres of Neon? Vervang de client door een gewone `pg`- of Prisma-verbinding op `DATABASE_URL`; de SQL blijft hetzelfde.

### Niet voor

Een project dat functies nodig heeft die alleen Vercel heeft, zoals Edge Middleware, ISR op de edge of Vercel Blob; daar hebben wij geen tegenhanger van. Een app boven 1 GB data, 10 verbindingen of 10 GB verkeer per maand is een vraag voor de Platform-bundel, waar je betaalt voor wat je gebruikt.
