Coolify vs Dokploy comes down to this: Coolify is the more mature, broader self-hosted PaaS (a Laravel app on plain Docker, with a huge one-click service catalogue and the cheapest hosted control plane), while Dokploy is the leaner Docker Swarm-native option, with first-class clusters, build servers and more buildpack choices, but with SSO and audit logs reserved for Enterprise. Both are free to self-host under Apache 2.0, both deploy from Git with automatic HTTPS, and both had serious security advisories in 2025 and 2026, so whichever you pick, patch it like the root-on-every-server tool it is.

Everything below was checked against the official docs, pricing pages, GitHub releases and security advisories on 2 December 2026. At that point the current stable releases were Coolify v4.7.10 (with v4.8.0-rc.1 in pre-release) and Dokploy v0.31.7.

Coolify vs Dokploy at a glance

Coolify Dokploy
Current version (2 Dec 2026) v4.7.10 stable, v4.8.0-rc.1 preview v0.31.7
Control plane stack Laravel (PHP), PostgreSQL 15, Redis 7 Next.js, PostgreSQL 16
Container runtime model Plain Docker / Docker Compose per server Docker Swarm (single-node swarm by default)
Default proxy Traefik (Caddy optional, or none) Traefik v3
Minimum server 2 cores, 2 GB RAM, 10 GB disk 2 GB RAM, 30 GB disk
Ports on the control plane host 8000 (UI), 6001, 6002, 80, 443 3000 (UI), 80, 443
Build options Nixpacks, Railpack (beta), Dockerfile, Compose, static Nixpacks, Railpack, Dockerfile, Heroku buildpacks, Paketo, static
Multi-server Yes, over SSH; Swarm deprecated Yes, over SSH; Swarm clusters supported
Preview deployments GitHub (App or webhook), GitLab, Gitea, Bitbucket GitHub
SSO for the dashboard Not gated behind a paid tier Enterprise only
License Apache 2.0 Apache 2.0, plus a proprietary directory
Hosted control plane From $5/month including 2 servers From $4.50/month per server

Installation and first boot

Installing Coolify

The Coolify installation docs ask for at least 2 CPU cores, 2 GB RAM and 10 GB of free disk on amd64 or arm64, and support a long list of distributions: Debian, Ubuntu (LTS), RHEL-family distros including Amazon Linux 2023, SUSE, Arch, Alpine and 64-bit Raspberry Pi OS.

# run as root (sudo -i first if you are a sudo user)
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash

The script installs Docker Engine if needed, creates /data/coolify, generates the SSH key Coolify uses to manage servers (including its own host), and starts the stack. The production Compose file shows what you get: a coolify container (the Laravel app, which since 4.4 also runs the realtime websocket server), coolify-db on postgres:15-alpine and coolify-redis on redis:7-alpine. The dashboard listens on port 8000, with 6001 (realtime) and 6002 (terminal) also published.

One warning matters most: the first person to reach the registration screen becomes the instance admin. Register immediately after the script finishes, not after lunch.

Installing Dokploy

The Dokploy installation docs ask for 2 GB RAM and 30 GB of disk, list tested Ubuntu, Debian, Fedora and CentOS releases, and require ports 80, 443 and 3000 to be free or the installer stops.

curl -sSL https://dokploy.com/install.sh | sh

Reading the current install script is instructive. It pins Docker 28.5.0, runs docker swarm init on the host, creates an attachable overlay network called dokploy-network, stores the Postgres password and auth secret as Docker secrets, starts dokploy-postgres (postgres:16) and the dokploy service as Swarm services, and runs dokploy-traefik (traefik:v3.8.0) as a plain container with a systemd unit that waits for the swarm network at boot.

The 30 GB disk recommendation is not padding. Both tools build images on the server by default, and build cache fills small disks fast. On small disks you will meet Docker's "no space left on device" error; turn on both platforms' cleanup settings.

The firewall gotcha both installs share

After installing, people reach for ufw deny 8000 or ufw deny 3000. That does not work the way you expect: ports published by Docker are handled by iptables rules Docker inserts ahead of ufw's chains, so a ufw rule does not block them. Use your cloud provider's firewall (or DOCKER-USER chain rules) instead. A sensible inbound policy for a single-server setup:

22/tcp     your admin IPs only
80/tcp     anywhere (ACME HTTP-01 and redirects)
443/tcp    anywhere
443/udp    anywhere (HTTP/3, Dokploy's Traefik publishes it)
8000/tcp   Coolify only: your admin IPs, or closed once the dashboard has a domain
6001-6002  Coolify only: as above
3000/tcp   Dokploy only: your admin IPs, or closed once the dashboard has a domain

Once the dashboard has its own HTTPS domain, close the raw port.

Architecture: plain Docker vs Docker Swarm

This is the real fork in the road, and it explains most of the other differences.

Coolify treats each server as a standalone Docker host that it drives over SSH. Applications are containers or Compose projects on a Docker network per destination, fronted by a proxy container on that server. The proxy docs list Traefik as the default, Caddy as an integrated alternative ("currently less documented than Traefik"), and a "None" mode where you handle domains and TLS yourself. Swarm support exists but the Swarm page is blunt: it is experimental, "Docker Swarm will be removed in Coolify v5", and you should not create new Swarm deployments.

Dokploy is Swarm all the way down, even on one node. Your applications run as Swarm services on dokploy-network, Traefik routes to them, and adding capacity means joining nodes to the swarm. The cluster docs require an external registry, matching CPU architecture, and open Swarm ports (2377/tcp, 7946/tcp+udp, 4789/udp) between nodes. They also point out that Swarm overlay traffic is not encrypted by default and recommend a private network or a WireGuard/Tailscale mesh between nodes. For Compose projects, Dokploy offers both "Compose" (plain docker compose) and "Stack" (Swarm) modes; Stack mode does not support build.

In practice: if you want replicas spread across machines with a scheduler handling node failure, Dokploy supports it. If your fleet is "this box runs these apps", Coolify's model is simpler to debug with ordinary docker ps and docker logs.

Multi-server deployments

Both run the control plane on one machine and deploy to others over SSH.

Coolify multi-server

Coolify can deploy one application to a primary server and additional standalone servers. Per the multi-server docs, the primary server (or a configured build server) builds the image and pushes it to a registry every server can reach, and the others pull it. The constraints are worth knowing before you design around them:

  • Adding servers does not distribute traffic; you bring your own load balancer.
  • Compose applications, and applications with persistent storage, cannot be spread across servers.
  • Pull request previews are not deployed to the additional servers.

Dokploy multi-server and build servers

Dokploy's remote servers get only a Traefik instance installed; the control plane drives Docker over SSH. If you run Dokploy purely as a control plane for remote servers, the docs put its footprint at roughly 250 MB of RAM. Dedicated build servers clone and build, push to a registry, and keep your deployment servers free of build load, though only for Applications, not Compose. Swarm clusters are the other scaling path, as above.

For "several servers, each running its own apps, one dashboard", both work. For "one app, N replicas, failover", Dokploy fits better today; Coolify's scalable core is promised for v5, which had no release date when I checked.

Databases and backups

Both provision databases as containers with one click and run scheduled dumps to S3-compatible storage. The differences are in the edges.

Coolify Dokploy
One-click databases PostgreSQL, MySQL, MariaDB, MongoDB, Redis, KeyDB, Dragonfly, ClickHouse PostgreSQL, MySQL, MariaDB, MongoDB, Redis, libSQL
Scheduled backups PostgreSQL, MySQL, MariaDB, MongoDB, ClickHouse, SQLite PostgreSQL, MySQL, MariaDB, MongoDB, libSQL
Not backed up Redis, Dragonfly, KeyDB Redis
Backup destinations S3-compatible, SFTP, FTPS, WebDAV, local S3-compatible
Volume backups Not a separate feature Yes, for named volumes (not bind mounts)

Coolify's backup docs include advice I wish more platforms printed: "A successful backup only proves that Coolify created a file." Note that backups of a deleted database stay on disk and in S3 unless you tick the delete option. Dokploy's database docs cover the same S3 flow, plus Volume Backups for named volumes (handy for uploads or SQLite files).

Whichever you choose, test restores on a schedule. A minimal check for a Postgres dump pulled from your bucket:

# restore the latest dump into a throwaway container and count rows in a key table
docker run -d --name restore-test -e POSTGRES_PASSWORD=test postgres:16
sleep 5
docker cp ./latest.dump restore-test:/tmp/latest.dump
docker exec restore-test pg_restore -U postgres -d postgres --no-owner /tmp/latest.dump
docker exec restore-test psql -U postgres -d postgres -c "select count(*) from users;"
docker rm -f restore-test

Match production's Postgres major version; use psql -f for plain-SQL dumps. Any S3-compatible bucket works as a destination; see our comparison of self-hosted S3 storage options if you want to run your own.

Deploying an app: Compose files on each platform

Both deploy from a Git repository using a build pack, a Dockerfile or a Compose file. Coolify supports Nixpacks, Railpack (beta), Dockerfile, Docker Compose and static (build packs); Dokploy supports Nixpacks (default), Railpack, Dockerfile, Heroku buildpacks, Paketo buildpacks and static (build types). If you are migrating from Heroku, Dokploy's Heroku buildpack option is a genuine convenience.

Compose is where daily ergonomics differ. Coolify reads "magic" variables in your Compose file and generates values for them, per its Compose docs:

# Coolify: credentials and the public URL are generated on first deploy
services:
  api:
    image: ghcr.io/example/api:1.4.2
    environment:
      SERVICE_URL_API_3000: /
      PUBLIC_URL: ${SERVICE_URL_API_3000}
      DATABASE_URL: postgres://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_64_POSTGRES}@db:5432/app
      SESSION_SECRET: ${SERVICE_HEX_64_API}
  db:
    image: postgres:17
    environment:
      POSTGRES_USER: ${SERVICE_USER_POSTGRES}
      POSTGRES_PASSWORD: ${SERVICE_PASSWORD_64_POSTGRES}
      POSTGRES_DB: app
    volumes:
      - pgdata:/var/lib/postgresql/data
volumes:
  pgdata:

Note the naming rule: the <ID> in credential variables must be one token, so SERVICE_PASSWORD_DBPASSWORD, not SERVICE_PASSWORD_DB_PASSWORD.

Dokploy keeps Compose closer to vanilla. Variables you set in the UI are written to a .env file next to the Compose file but are not injected automatically, so you reference them explicitly (Dokploy Compose docs):

# Dokploy: secrets live in the UI's Environment tab, referenced explicitly
services:
  api:
    image: ghcr.io/example/api:1.4.2
    env_file:
      - .env
  db:
    image: postgres:17
    environment:
      - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
      - POSTGRES_DB=app
    volumes:
      - pgdata:/var/lib/postgresql/data
volumes:
  pgdata:

Two Dokploy rules save you a bad day: do not bind-mount relative paths from the repo (AutoDeploy's git clone clears the directory; use File Mounts or ../files), and prefer named volumes for databases because Volume Backups do not cover bind mounts.

Both proxies issue Let's Encrypt certificates automatically; with lifetimes shrinking towards 47 days, monitor renewals anyway (see our 47-day TLS certificate renewal guide).

Preview deployments

Coolify previews work through a GitHub App (recommended, since it can comment the preview URL on the PR) or a plain repository webhook, and the docs also cover GitLab, Gitea and Bitbucket. The URL template defaults to {{pr_id}}.{{domain}}, which needs a wildcard DNS record. PR deployment access defaults to repository members; a public mode allows fork PRs, and in that mode previews do not receive variables whose values match production.

Dokploy previews are GitHub-only, off by default, limited to 3 per application by default, can be gated on PR labels, and fall back to sslip.io hostnames if you have no wildcard domain. Dokploy's docs recommend not using previews on public repositories at all. That advice has history: CVE-2025-53825 (CVSS 9.4) let anyone open a pull request on a public repo and run code and read environment variables on a Dokploy server before 0.24.3. Dokploy 0.31.4 added SSO forward-auth protection for previews, but that is an Enterprise feature.

My rule for both: previews only on private repos, preview-specific credentials pointing at a disposable database, and never production secrets.

Licensing, cloud pricing and what is gated

Coolify's repository is under the Apache License 2.0, and its pricing page describes self-hosting as free with no feature restrictions; that includes dashboard sign-in through OAuth providers (GitHub, GitLab, Google, Azure and others) and OIDC-based SSO such as Authentik or Zitadel. Dokploy's licence is Apache 2.0 for everything outside a /proprietary directory, which is under a separate proprietary licence, and its Cloud vs self-hosted comparison shows what that means: SSO (OIDC/SAML), SCIM, application authentication, audit logs and custom roles require Enterprise, either a self-hosted licence or Enterprise Cloud. If your security team requires SSO on every admin console, that row decides the comparison on its own.

Both sell a hosted control plane where you bring your own servers. Prices as of December 2026:

Hosted plan Price Servers included Extra servers
Coolify Cloud $5/month 2 $3/month each
Dokploy Connect Hobby $4.50/month 1 $4.50/month each
Dokploy Connect Startup $15/month 3 $4.50/month each
Dokploy Enterprise / Agency Contact sales Custom Custom

Both offer 20% off with annual billing. Dokploy's Hobby plan is limited to 1 organisation, 1 user, 2 environments, 1 backup per app or database and 1 scheduled job. Dokploy also now sells servers bundled with the control plane, from $19.99/month for 1 vCPU, 2 GB RAM and 50 GB disk up to $159.99/month for 8 vCPU and 16 GB (Dokploy Cloud docs); Coolify Cloud does not sell servers.

Worked monthly fees for the control plane alone, monthly billing, servers not included:

Fleet Coolify Cloud Dokploy Connect
1 server, solo developer $5 $4.50 (Hobby)
3 servers, small team $8 $15 (Startup)
5 servers, small team $14 $24 (Startup + 2)

The differences are small next to your VPS bill. The bigger cost is patching a self-hosted control plane yourself.

Security track record

Both projects give their dashboards effectively root on every managed server: they hold SSH keys and talk to the Docker socket. Every authorisation bug is therefore a potential host compromise, and both projects have published a lot of them.

Coolify. In January 2026, The Hacker News reported eleven critical Coolify flaws, including command injection in database backup, import and Postgres init scripts (CVE-2025-66209, -66210 and -66211, all CVSS 10.0), plus CVE-2025-64420, which let low-privileged users read the root user's private SSH key. Censys counted about 52,890 internet-exposed Coolify hosts at the time. Fixes landed in the 4.0.0-beta.4xx series. On 1 December 2026, Coolify published another batch of GitHub security advisories, mostly cross-team authorisation bugs, including CVE-2026-48739 (CVSS 9.9, fixed in 4.1.1) and CVE-2026-59737 (CVSS 9.9, Compose directives allowing host root, mitigated in 4.2.0 by restricting resource changes to team admins).

Dokploy. Beyond the preview-deployment CVE above, Dokploy's advisory list includes July 2026 command-injection issues such as CVE-2026-72902 (CVSS 9.9, any authenticated user could inject shell through the registry test endpoints in 0.28.3 and earlier), and a November 2026 batch of cross-organisation authorisation fixes. One November advisory (GHSA-qxjv-6cvh-32c6) found the installer made /etc/dokploy world-writable, a local root escalation on shared hosts. The installer served on 2 December 2026 sets mode 755; older installs should check:

stat -c '%a %U %n' /etc/dokploy      # want: 755 root /etc/dokploy
chmod 755 /etc/dokploy

Many of these bugs need an authenticated low-privilege user, so they matter most when you invite people who should not have root. Hardening for either:

  • Keep the dashboard off the public internet (VPN, IP allow-list at the provider firewall, or an identity-aware proxy).
  • Treat every invited team member as able to reach root until proven otherwise; for real multi-tenant isolation, run separate instances.
  • Subscribe to the GitHub security advisories feed and update within days, not months.

Which should you choose? Coolify vs Dokploy decision guide

If you... Pick
Want the biggest one-click catalogue and simplest mental model Coolify
Need dashboard SSO without buying Enterprise Coolify
Want backups to SFTP/WebDAV or of ClickHouse Coolify
Need previews from GitLab, Gitea or Bitbucket Coolify
Want replicas across nodes with a supported scheduler Dokploy
Want dedicated build servers so deploy hosts stay idle Dokploy (Coolify has build servers too, but with more multi-server constraints)
Are migrating from Heroku buildpacks Dokploy
Want a vendor to sell you the server and the panel together Dokploy Cloud

If you are weighing self-hosting against a managed PaaS in the first place, compare the time you will spend patching and backing up against the bill in our Render vs Fly.io vs Railway comparison.

Frequently Asked Questions

Is Dokploy better than Coolify?

Not across the board. Dokploy is stronger for Swarm clustering and buildpack choice; Coolify for its service catalogue, backup destinations, preview Git providers and free dashboard SSO.

Is Coolify free?

Yes. Self-hosted Coolify is free under Apache 2.0 with no feature restrictions. Coolify Cloud, where coolLabs hosts the dashboard and you bring servers, costs $5/month including two servers and $3/month per additional server as of December 2026.

Does Dokploy use Kubernetes?

No. Dokploy uses Docker Swarm: the installer runs docker swarm init even on a single server and deploys applications as Swarm services behind Traefik. Clusters are built by joining more Swarm nodes and pushing images to a registry.

Can I migrate from Coolify to Dokploy?

There is no built-in migration tool in either direction. Recreate each app from the same Git repo or Compose file, restore databases from dumps, copy volume data, then switch DNS. Replace Coolify magic variables with explicit environment variables.

Is Coolify safe to expose to the internet?

Not without protection, given its advisory history. Put the dashboard behind a VPN or provider-level IP allow-list, register the admin immediately after install, and stay on the latest release. The same applies to Dokploy.

How much RAM do Coolify and Dokploy need?

Both document a 2 GB RAM minimum for an all-in-one server, and Coolify also asks for 2 CPU cores. Builds are the hungry part, so 4 GB is more comfortable if apps build on the same box. Dokploy as a control plane only for remote servers needs about 250 MB.

Bottom Line

For most solo developers and small teams running apps on one to a few servers, Coolify is the safer default: it is broader, cheaper to have hosted, and its plain-Docker model is easier to debug. Pick Dokploy when you want Swarm replicas across nodes, separate build servers or Heroku buildpacks, and budget for Enterprise if you need SSO. With either one, the panel holds root on your fleet, so firewall the dashboard, test your restores and update promptly when advisories land.