Skip to content
Home / Migrations / HerokuCoolify

Heroku Coolify

medium

Coolify is a self-hosted Heroku on your own VPS. Git push deploy, built-in databases, SSL, and all the DX — for the cost of a $5/mo VPS.

Estimated: 2-4h · 6 steps
Progress0%
Step 1: Provision a VPS

Hetzner CX21 (€4/mo) or similar. Ubuntu 22.04. Minimum 2 CPU, 4GB RAM.

Step 2: Install Coolify
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
Step 3: Connect your VPS

Coolify dashboard (port 8000) → Servers → Add Server. Add your VPS SSH credentials.

Step 4: Import GitHub repo

New Resource → Application → GitHub. Coolify detects Procfile, Dockerfile, or Nixpacks buildpack.

Step 5: Add databases

New Resource → PostgreSQL/Redis. Auto-configured internal networking. Copy DATABASE_URL to app environment.

Step 6: Migrate data
heroku pg:backups:download && pg_restore -d $COOLIFY_DATABASE_URL latest.dump
App deploys on git push. Custom domain working with SSL.
Get started with Coolify