Platforms like Heroku made deployment simple: push code, get a running app with a domain and HTTPS. Coolify and Dokploy bring a similar workflow to a server you control. Both are open-source, both run on Docker, and both install on a VPS with a single script. They save real time, but they also add a layer you need to run and understand. This guide explains what they automate, what they need from the server, and when a plain Docker Compose file is the simpler choice.
What a self-hosted PaaS automates
Without a platform, deploying an app on a VPS means writing a Dockerfile or compose file, configuring a reverse proxy, getting certificates, setting environment variables, and repeating the steps on every update. Coolify and Dokploy put a web dashboard on top of that work:
Deploy from Git. Connect a GitHub, GitLab or other Git repository. A push to a branch can trigger a build and a new deployment through a webhook.
Builds without a Dockerfile. Both can detect common stacks and build them with Nixpacks. You can also use your own Dockerfile or a Docker Compose file.
Domains and HTTPS. A built-in reverse proxy (Traefik by default) routes each domain to the right container and gets Let's Encrypt certificates automatically.
Databases. Create PostgreSQL, MySQL, MariaDB, MongoDB or Redis instances from the dashboard, with scheduled backups to S3-compatible storage.
Environment variables and secrets per app, plus logs, a terminal into containers and basic resource graphs.
Templates. Ready-made setups for common open-source tools, such as n8n, Uptime Kuma or Plausible, deployed in a few clicks.
How Coolify and Dokploy differ
The two projects overlap a lot. The differences are mostly in architecture and in how the interface feels to you. Features change quickly in both, so check each project's current documentation before you decide.
| Coolify | Dokploy | |
|---|---|---|
| Runs on | Docker, with its own PostgreSQL and Redis for the dashboard | Docker in Swarm mode, with its own PostgreSQL and Redis |
| Multiple servers | Manages extra servers over SSH from one dashboard | Adds servers as Docker Swarm nodes, or as remote servers |
| Reverse proxy | Traefik by default, Caddy as an option | Traefik |
| Build options | Nixpacks, Dockerfile, Docker Compose, static sites | Nixpacks, buildpacks, Dockerfile, Docker Compose |
| Dashboard port before you set a domain | 8000 | 3000 |
Coolify has been around longer and has a large library of one-click services. Dokploy's use of Docker Swarm makes it a natural fit if you plan to spread containers across several nodes. For a single VPS running a handful of apps, both do the job. Try the one whose dashboard makes more sense to you.
Installation
Both projects recommend a fresh server, because the installer sets up Docker and takes ports 80 and 443 for its proxy. Read the script before you pipe it into a shell.
# Coolify
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | sudo bash
# Dokploy
curl -sSL https://dokploy.com/install.sh | sudo shWhen the script finishes, open the dashboard on the port shown and create the admin account immediately. The first account to register controls the server.
Resource needs: rules of thumb
Both projects list a minimum of about 2 GB RAM and around 30 GB of disk, and Coolify also asks for 2 CPU cores. That covers the platform itself: its dashboard, database, cache and proxy. Your apps come on top of that. A few practical guides:
The platform takes its share. Expect several hundred MB to around 1 GB of RAM in use before you deploy anything.
Builds are the peak. Building a Node.js or Next.js app can briefly need 2 GB of RAM or more and keep all cores busy. If builds run on the same server as production apps, those apps slow down during every deploy. Out-of-memory errors during a build usually mean the server is too small for building, not for running.
Disk fills with images. Every build creates new image layers. Enable the cleanup settings in the dashboard, and check usage with
docker system df.A comfortable start for the platform plus a few small apps and a database is 4 vCPU and 8 GB RAM. With less, build images in CI and deploy the finished image, or use a separate build server.
Security points that are easy to miss
The dashboard is root access. Anyone who logs in can run containers on your server. Use a strong password, enable two-factor authentication, and put the dashboard on its own domain with HTTPS.
Close the setup port. After you assign a domain to the dashboard, block direct access to port 8000 or 3000.
Docker bypasses UFW. Ports published by Docker containers are opened through iptables rules that UFW does not see. A database you expose with a public port is reachable even if
ufw statussays otherwise. Keep databases internal, or use your provider's network firewall.Back up the platform as well as the apps. Database backups to S3 cover your data. You also need the platform's own configuration, so follow each project's backup and restore guide.
When plain Docker Compose is simpler
A PaaS earns its overhead when you deploy often, run many apps, or hand deployments to people who should not need SSH. It is extra weight when you run one or two stable services and are comfortable with the command line. In that case, a compose file and Caddy do the same job with fewer moving parts:
services:
app:
build: .
restart: unless-stopped
env_file: .env
expose:
- "3000"
caddy:
image: caddy:2
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy_data:/data
volumes:
caddy_data:# Caddyfile
app.example.com {
reverse_proxy app:3000
}Deploying an update is then one line:
git pull && docker compose up -d --buildThis uses less RAM, has no extra dashboard to secure, and every part is visible in two files you can keep in Git. You give up the web interface, Git webhooks and managed database backups, so you add those yourself if you need them.
A simple way to decide
Choose Coolify or Dokploy if you deploy several apps, deploy often, want preview environments or push-to-deploy, or share the server with people who prefer a dashboard.
Choose Docker Compose if you run one to three stable services, want the lowest overhead, or need to know exactly what runs on the server.
Either way, keep your configuration in Git and test restoring from backups. Both make it easier to move to the other approach later.
Run it on IM HOST
A self-hosted PaaS needs root access and ports 80 and 443, which every IM HOST Linux VPS gives you, with full root on KVM and a dedicated IPv4 address. Ryzen 9 9950X plans with DDR5 start at $15/month, which helps with build-heavy workloads. If builds and apps share one server, Cloud VPS gives you dedicated vCPU and RAM from $16/month, a free automatic backup every 3 days, and upgrades anytime as you add apps. Our engineers are available 24/7, and there are no setup fees.



