GuidesGuide

Coolify and the self-hosted PaaS route

Git push deploys, automatic SSL and one-click databases on a VPS you own, with the limits and managed alternatives.

TL;DR

Coolify turns a $4-5/month VPS into a Heroku-style platform: Git push deploys, automatic SSL, one-click databases and a clean UI, all open source. It is the strongest self-hosted PaaS in 2026. The trade: you become the operator.

  • Coolify manages Docker, Traefik routing and Let's Encrypt certificates on your own hardware.
  • Entry cost: a 2GB+ RAM VPS, from $3.97/month at Hetzner, plus a domain.
  • Teams leave Vercel over usage-based invoices and platform lock-in.
  • Railway sets up fastest, Fly.io distributes globally, Render prices flat.
  • Everything ships as standard containers, so switching stays cheap.

What Coolify is

Heroku's free tier died and Vercel bills stack up past the hobby limits. Meanwhile a $5 VPS sits mostly idle. Coolify closes that gap: an open-source Platform-as-a-Service on your own server.

It manages Docker containers, routes traffic with Traefik and provisions SSL through Let's Encrypt. Connect GitHub or GitLab, push to main and the app redeploys. PostgreSQL or Redis take one click.

What you need before you start

The list is short, which is part of the appeal.

  • A VPS with 2GB+ RAM: Hetzner $3.97/month (2 vCPU, 4GB), DigitalOcean $4, Vultr around $6.
  • A fresh Ubuntu 22.04 or Debian 12 install.
  • A domain name pointed at the server for SSL.
  • SSH access as root or a sudo user. One terminal command is the skill bar.

Install to first deploy

One script over SSH installs Docker, Docker Compose and Coolify in two to three minutes. It prints your dashboard URL on port 8000, where you create the admin account.

Point DNS at the box: one A record for the dashboard and a wildcard for app subdomains. Connect GitHub or GitLab via OAuth. Coolify auto-detects most frameworks and fills in build command, start command and port.

Click deploy. It clones, builds, containerizes, wires routing and provisions SSL, with live build logs. Expect about half an hour from bare VPS to first app, mostly DNS.

Databases, secrets and SSL

Databases are containers too. A PostgreSQL or Redis resource takes one click. The internal Docker network resolves it by name, so nothing is exposed publicly.

Environment variables get a proper UI, are encrypted at rest and are injected at runtime. Build-time secrets have their own section.

SSL is automatic: add a domain and Coolify runs the ACME challenge, installs and renews the certificate. Failures almost always come from unpropagated DNS or a closed port 80 or 443.

Backups and monitoring

Coolify backs up databases to any S3-compatible storage on a schedule. Daily with a set retention period is the sane default.

Built-in monitoring is basic: container status, restart counts and logs. For production, add external uptime checks plus Loki, Prometheus and Grafana from the one-click marketplace. Assembling and watching it is your job.

The limits

Coolify is excellent at what it is. Know its limits before you rely on it.

  • Single server: no built-in clustering. If the VPS dies, everything on it dies.
  • Shared resources: one greedy process can starve every other app.
  • No auto-scaling: a traffic spike hits the server's ceiling.
  • You are the operator: updates, patches and outages at any hour.
  • Upside: everything is standard Docker, so leaving means pointing CI/CD elsewhere.

Leaving Vercel: the wider field

Coolify is usually evaluated by teams leaving Vercel. Vercel is great. The usual reasons to leave are invoices that jump from $0 to $150+ overnight and features like edge middleware that harden into lock-in.

  • Railway: fastest managed setup, five minutes from signup to deployed.
  • Railway pricing: Hobby $5/month with $5 credit, Pro $20 per seat, then usage billing.
  • A small always-on Railway app lands around $10-15/month, $20-25 with a database.
  • Fly.io: containers across 30+ regions with anycast routing, the real answer to Vercel's edge.
  • Fly.io: free tier of three small VMs, shared CPUs from about $2/month.
  • Render: flat pricing. $7/month starter services and $7/month entry PostgreSQL, so $14/month total.
  • CapRover: around since 2017, dated UI, but Docker Swarm clustering across several VPSes.

Which platform for which team

Name your constraint and the decision gets easy.

  • Tight budget, comfortable with a terminal: Coolify on one $4-5 box.
  • Predictable invoices above all: Render, with flat tiers.
  • Users on several continents: Fly.io, the only one here that distributes compute.
  • Shipping this week: Railway. Revisit the bill later.
  • Multiple servers without Kubernetes: CapRover and Docker Swarm.
  • Deep on Vercel's edge features with a sensible bill: stay on Vercel.

Web apps and autonomous agents differ

Everything above is built for request-driven web apps. Autonomous agents are long-running, stateful and memory-spiky. They hold sessions for days, drive a browser and must recover with their state intact.

A PaaS restart loop understands none of that. It bounces a container while the agent loses its workspace. It has no answer for an agent that is alive yet stuck.

If you deploy agents for clients, run them on a platform built for agents. Molted runs Mue, OpenClaw and Hermes with crashes caught in under 60 seconds and persistent files and memory.

FAQ

The short version.

01

Is Coolify really free?

The software is free and open source with no feature gating. Your real cost is the VPS, $4-6/month for several apps, plus a domain and your time as the operator. That last item is the actual price.

02

Coolify vs CapRover vs Dokku: which self-hosted PaaS?

Coolify for most people in 2026: the most polished UI, native Git OAuth and the most active development. Dokku if you live in the terminal and want something minimal. CapRover if you need Docker Swarm clustering across servers.

03

Can Coolify replace Vercel?

For full-stack apps, APIs and databases on a budget, yes, often at a tenth of the cost. You give up Vercel's global edge network and preview-deploy polish. You also become the operator. For global, latency-sensitive users, Fly.io is closer.

04

What happens when my Coolify VPS goes down?

Everything on it goes down until you fix it. Single-server PaaS has no clustering, no failover and no one on call but you. Keep off-server database backups in S3-compatible storage and set external uptime alerts.

05

Can I run OpenClaw or another AI agent on Coolify?

You can start a container. You then inherit everything agents need beyond restart-on-exit: recovery with state intact, stuck-agent detection, memory-spike protection and versioned workspaces. Keep Coolify for web workloads and run agents on a platform built for them.

Keep Coolify for web apps and run your agents on Molted.