Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto
Self-hosting

Self-hosted PaaS on a VPS: Coolify, Dokploy, Dokku and Kamal

Coolify, Dokploy, Dokku, CapRover and Kamal compared for running your own Heroku-style platform on a VPS: footprint, builds, proxies, licenses and trade-offs.

CloudSat teamNovember 18, 20267 min read
A small server drawn as a launch pad sending several app icons into orbit along curved, glowing paths
On this pageThree ways to run your own platform

A platform as a service turns "here is my repository" into a running app with a domain, a certificate and a database. Self-hosting that layer gives you the same workflow on a server you rent, at the cost of one new job: operating the platform itself. The tools that do it fall into three distinct models, and picking the model first makes the choice between individual tools much easier.

Three ways to run your own platform

A dashboard that lives on your server

Coolify, Dokploy and CapRover install a web application on the server, next to your apps. You connect a Git repository or a Docker image in the browser, pick a domain, and the platform builds, deploys and routes traffic through its own reverse proxy. Databases, backups and one-click templates for common software are a few clicks away. This model suits teams that want a shared UI and people who prefer not to live in a terminal.

git push to a server

Dokku has no dashboard and needs none. It reproduces the classic git push heroku main workflow on your own machine, with buildpacks, a Procfile and plugins for databases and certificates. On the server:

dokku apps:create shop
dokku domains:set shop shop.example.com
sudo dokku plugin:install https://github.com/dokku/dokku-postgres.git postgres
dokku postgres:create shop-db && dokku postgres:link shop-db shop
sudo dokku plugin:install https://github.com/dokku/dokku-letsencrypt.git
dokku letsencrypt:set shop email ops@example.com && dokku letsencrypt:enable shop

Then, from your laptop, add the server as a Git remote and push:

git remote add dokku dokku@203.0.113.10:shop
git push dokku main

Dokku runs in 1 GB of RAM, supports Ubuntu 22.04, 24.04 and 26.04 and Debian 11 or later, and has more than a decade of releases behind it. Everything is a command, which suits developers and frustrates anyone who expected a UI.

Deploy from your own machine

Kamal, from the team behind Basecamp, keeps nothing permanent on the server except Docker and a small proxy. From your machine, kamal setup connects over SSH, installs Docker if needed, builds your image, pushes it to a registry, starts the new container and switches traffic once it answers a health check on /up. The configuration lives in config/deploy.yml:

service: shop
image: example/shop
servers:
  web:
    - 203.0.113.10
proxy:
  ssl: true
  host: shop.example.com
registry:
  username: example
  password:
    - KAMAL_REGISTRY_PASSWORD
builder:
  arch: amd64

Kamal suits teams that already think in Dockerfiles and CI and want zero-downtime deploys without a dashboard to secure. It does not manage databases or backups, and several servers behind one domain need a load balancer in front.

The tools side by side

Coolify Dokploy Dokku CapRover Kamal
License Apache 2.0 Apache 2.0 core, separate license for a proprietary directory MIT Apache 2.0 with a project appendix MIT
Interface Web dashboard Web dashboard CLI and git push Web dashboard and CLI CLI on your machine
Builds Nixpacks, Railpack (beta), Dockerfile, Compose, static Nixpacks, Railpack, Dockerfile, Heroku and Paketo buildpacks, static Buildpacks, Dockerfile and more Dockerfile and its own definition file Your Dockerfile, pushed to a registry
Proxy Traefik by default Traefik Nginx by default Nginx kamal-proxy
Several servers Yes, managed over SSH Yes, remote servers and Swarm One host, or a k3s scheduler for clusters Docker Swarm cluster Yes, any servers over SSH
Stated minimum 2 cores, 2 GB RAM, 10 GB disk 2 GB RAM, 30 GB disk 1 GB RAM (or swap) 1 GiB RAM, 5 GiB disk Not specified

Stated minimums cover the platform alone. Your applications, their databases and above all their build steps need memory on top. Builds are the usual peak: a Node or Rust build can use more RAM than the running app ever will, so size for builds, add swap, or build images in CI and deploy prebuilt ones.

CapRover, one of the earlier dashboard-style projects, still ships regular releases (1.16.0 in November 2026), so existing installs have no urgent reason to move. For new projects, most comparisons come down to Coolify and Dokploy.

Coolify versus Dokploy in practice

On paper, these two overlap almost completely: web dashboard, one-click templates, databases with scheduled backups, Git integration, custom domains with automatic certificates and multi-server support. The differences sit underneath.

Under the hood

Coolify is a Laravel application with its own PostgreSQL and Redis containers. It manages every server, including the one it runs on, over SSH, so adding a second or third server is a matter of adding a key. Its proxy is Traefik by default.

Dokploy is a TypeScript application that installs its own PostgreSQL, Redis and Traefik, and uses Docker Swarm under the hood. It needs ports 80, 443 and 3000 free at install time and stops if any of them is taken.

Getting started

Both install with a single script on a fresh server:

curl -fsSL https://cdn.coollabs.io/coolify/install.sh | sudo bash   # Coolify, UI on port 8000
curl -sSL https://dokploy.com/install.sh | sudo sh                  # Dokploy, UI on port 3000

Read a script before piping it to a shell with root rights, and run it on a dedicated server rather than one that already hosts other services. Then create the admin account immediately: the first visitor to a fresh dashboard gets to register.

Licenses

Coolify is Apache 2.0 throughout. Dokploy's core is Apache 2.0, but code in a proprietary directory falls under a separate license that covers its enterprise features. If you plan to build a commercial service on top of either, read the license files rather than the marketing page.

Security habits

Coolify spent a long time in a 4.0 beta and published a series of security advisories along the way, including command-injection bugs fixed in later beta builds; it now ships stable 4.x releases at a fast pace. The lesson applies to every tool in this category. A PaaS dashboard holds SSH keys, registry credentials and the power to run any container, so keep it updated, put it behind a VPN or an IP allowlist, and never leave an unregistered instance online.

Choose Coolify for its multi-server model built on plain SSH and its long public history; choose Dokploy if you prefer its interface and Docker Swarm suits your plans. An hour with each on a throwaway server settles it faster than any comparison table.

A go-live checklist

None of these platforms removes operations work; they concentrate it in one place. Before real users arrive:

  • Backups leave the server. Database backup features write somewhere; make sure that somewhere is not the same disk.
  • The OS gets patched. The platform updates itself at best, never the kernel and packages under it.
  • Someone gets alerted. Resource graphs in a dashboard are not monitoring; add uptime checks and disk alerts.
  • Upgrades are reversible. Take a snapshot before each platform upgrade and keep app definitions in Git, so a failed upgrade costs minutes.
  • The dashboard is not public. Restrict it to your VPN or office addresses and enable two-factor login where the tool supports it.

On CloudSat, Coolify, Dokploy and Dokku are available as one-click apps (Coolify, Dokploy, Dokku), which saves the install step but not the hardening ones.

FAQ

Is running my own platform worth it?

It pays off with many small apps or client sites, with staging and preview environments you do not want to pay for one by one, with data that must stay on infrastructure you chose, and with predictable workloads that fit a fixed-size server. It is a poor fit when you need managed database high availability, compliance paperwork from a provider, or when nobody has time for updates.

Can I run two of these on the same server?

No. Each one wants ports 80 and 443 for its own proxy, and they compete for Docker networks. Use separate servers if you want to compare them.

Which is closest to Heroku?

Dokku. It uses buildpacks and a Procfile, and the deploy step is a git push. Moving an app over is often a matter of recreating config variables and add-ons.

Coolify or Dokploy for a first project?

Either works. Start with the one whose dashboard you find easier to read, because you will spend a lot of time in it.

Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.