All deployment targets
Self-hosted platform

Deploy to Coolify

Open-source self-hosted PaaS. Similar shape to Dokploy, larger ecosystem.

From
Cost of the VPS (~$5)
Ops effort
Medium
Managed Postgres
Persistent disk
Best for

Self-hosting with a big library of one-click services alongside your app, and multi-server support once one box is not enough.

Not for

Minimal setups — it carries more moving parts than a plain Docker Compose file.

Setup

  1. 1

    Install

    Same shape as Dokploy: one script on a clean VPS, then everything else through the panel.

    curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
  2. 2

    Add the application

    Choose the Dockerfile build pack and set the base directory to the API. Coolify reads the Dockerfile as-is, so the image Grit generates needs no changes.

    Build pack: Dockerfile
    Base directory: /apps/api
    Ports exposed: 8080
  3. 3

    Attach databases and set the health check

    Add Postgres and Redis as resources in the same project, then copy their internal connection strings into the app. Set the health check path to `/api/health` so a failed boot is caught rather than served.

What catches people out

Internal connection strings use the container name, not localhost. Using localhost is the single most common Coolify support question.

Coolify keeps every build image by default and will fill the disk. Set a cleanup schedule on day one.

Platform dashboards and CLI flags change faster than these docs. For anything that looks different from what is written here, Coolify's own documentation is the authority: coolify.io/docs/