Deploy an app with a database (App plan)

Logins, orders, a dashboard with data: then your project is a Node or Next app, not a static site. It runs with us in its own container with its own Postgres database (€ 15 a month after a 14-day trial). The image is built on GitHub, never on our server, so this always goes through a workflow in your repository:

name: Deploy app to Dorelli
on:
  push:
    branches: [main]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: elsaviour/dorelli-cli/.github/actions/dorelli-deploy@v1
        with:
          plan: app
          email: [email protected]
          site-id: ${{ secrets.DORELLI_SITE_ID }}
          deploy-token: ${{ secrets.DORELLI_DEPLOY_TOKEN }}
          registry-user: ${{ secrets.DORELLI_REGISTRY_USER }}
          registry-password: ${{ secrets.DORELLI_REGISTRY_PASSWORD }}

The first run creates the site and a registry token and tells you which four secrets to set. Your app gets DATABASE_URL and PORT (default 3000) as environment variables. No Dockerfile needed: we then use npm ci, npm run build, npm start. Have your own Dockerfile? It is used as is.

The app scales to zero without traffic; the first visit after a quiet period takes 10 to 30 seconds, see Cold starts. Logs, restart and environment variables are in your portal, see Logs, restart and variables.

Checked against the code on 2026-09-13 · Evidence: app/deploy/page.tsx, lib/app-deploy.ts, .github/actions/dorelli-deploy/action.yml

Was this helpful?

/docs/deploy/app.md