Coolify and Dokploy: Self-Hosted PaaS on Your VPS

Published on

How to run your own Heroku-like platform on a VPS. Covers Coolify and Dokploy setup, deploying applications, and why self-hosted PaaS saves money.

Written by Jochem, Infrastructure Expert, 5-10 years experience in game server hosting, VPS infrastructure, and 24/7 streaming solutions. Read author bio →

Heroku charges $25/month for a single app. Vercel's pro plan is $20/month. Or you can run your own platform on a VPS and deploy unlimited apps.

Self-hosted PaaS deployment platform

What is Self-Hosted PaaS?

Platform as a Service (PaaS) handles deployments, SSL, domains, and process management. Self-hosted PaaS gives you the same convenience on your own server.

FeatureHerokuVercelSelf-Hosted PaaS
Price (5 apps)$125/month$20/month (+overages)$10-30/month (VPS)
Deploy from GitYesYesYes
Auto SSLYesYesYes
Custom domainsYesYesYes
DatabasesAdd-on ($$$)ExternalIncluded
Docker supportYesNoYes
Full server accessNoNoYes

Coolify

Open-source, self-hosted Heroku alternative.

Installation

curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash

That's it. Coolify installs Docker, sets up a web dashboard, and is ready in minutes.

Features

FeatureIncluded
Git-based deploymentsYes (GitHub, GitLab, Bitbucket)
Docker supportYes
Database managementMySQL, PostgreSQL, MongoDB, Redis
SSL certificatesAutomatic (Let's Encrypt)
Custom domainsYes
Environment variablesYes
Deployment previewsYes
MonitoringBasic
BackupsDatabase backups

Deploying an App

  1. Connect GitHub repository
  2. Select branch (main)
  3. Coolify detects framework (Node.js, Python, etc.)
  4. Set environment variables
  5. Click Deploy

Coolify builds a Docker container, configures Nginx, generates SSL, and your app is live.

Supported Frameworks

FrameworkAuto-Detected
Node.js / Next.jsYes
Python / Django / FlaskYes
PHP / LaravelYes
Ruby / RailsYes
GoYes
RustYes
Static sitesYes
Docker ComposeYes

Dokploy

Lightweight alternative to Coolify with a clean interface.

Installation

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

Features

FeatureIncluded
Git deploymentsYes
Docker & Docker ComposeYes
Database managementYes
Auto SSLYes
Custom domainsYes
Monitoring dashboardYes
Multi-server supportYes
Traefik reverse proxyBuilt-in

Dokploy vs Coolify

AspectCoolifyDokploy
MaturityMore matureNewer
UIMore complexCleaner
Resource usageHigherLower
CommunityLargerGrowing
Multi-serverLimitedBuilt-in
UpdatesFrequentFrequent

Cost Comparison

SetupMonthly CostApps
Heroku$25/appPay per app
Vercel Pro$20 + overagesUnlimited (with limits)
Railway$5 + usagePay per resource
VPS + Coolify/Dokploy$10-30Unlimited

Break-Even Analysis

AppsHeroku CostVPS + PaaS Cost
1$25/month$10/month
3$75/month$15/month
5$125/month$20/month
10$250/month$30/month

By app #2, self-hosting pays for itself.

Resource Requirements

VPS SizeRAMApps Supported
Small2GB2-3 light apps
Medium4GB5-8 apps
Large8GB10-15 apps
Extra Large16GB+20+ apps

Reserve 512MB-1GB for the PaaS platform itself.

A Space-Node VPS with NVMe SSD gives Coolify or Dokploy the fast storage they need for Docker image building and serving. Plus, full root access means no limitations on what you can deploy.

Jochem

About the Author

Jochem, Infrastructure Expert, expert in game server hosting, VPS infrastructure, and 24/7 streaming solutions with 5-10 years experience.

Since 2023
500+ servers hosted
4.8/5 avg rating

I specialize in Minecraft, FiveM, Rust, and 24/7 streaming infrastructure, operating enterprise-grade AMD Ryzen 9 hardware in Netherlands datacenters.

View my full bio and credentials →

Launch Your VPS Today

Get started with professional VPS hosting powered by enterprise hardware. Instant deployment and 24/7 support included.