A self-hosted Heroku alternative
Coolify is an open-source PaaS that transforms your VPS into a deployment platform. Push code to Git, and Coolify builds and deploys automatically. It replicates the convenience of Heroku, Netlify, or Vercel while running entirely on infrastructure you control.
Core capabilities:
- Git-based deployment - Connect GitHub, GitLab, or Bitbucket for push-to-deploy workflows
- Docker application support - Deploy pre-built images or custom Dockerfiles
- Database provisioning - One-click PostgreSQL, MySQL, MongoDB, Redis, and others
- Automatic SSL - Let’s Encrypt certificates configured automatically
- Multi-server management - Deploy across multiple VPS instances from one dashboard
Coolify is completely free and open-source without paid tiers or feature restrictions.
How Coolify differs from server panels
Coolify differs from panels like RunCloud or ServerAvatar:
| Feature | Traditional Panels | Coolify |
|---|---|---|
| Focus | PHP/WordPress hosting | Containerized applications |
| Deployment | Manual or FTP | Git push or Docker |
| Pricing | Monthly subscription | Free (open-source) |
| Databases | MySQL/MariaDB emphasis | Postgres, MySQL, Mongo, Redis, more |
| Applications | Primarily PHP | Node.js, Python, Go, Rust, PHP, static sites |
Coolify suits modern applications built with frameworks like Next.js, Laravel, Django, Rails, or Docker-based stacks.
VPS specifications
| Resource | Minimum | Recommended |
|---|---|---|
| RAM | 2 GB | 4 GB+ |
| CPU | 1 core | 2 cores+ |
| Disk | 30 GB SSD | 50 GB+ SSD |
| OS | Ubuntu 22.04+ or Debian 12+ | Ubuntu 24.04 LTS |
Resource needs scale with deployed applications. Multiple applications and databases benefit from 4 GB RAM or more.
Getting Coolify running
Step 1: VPS preparation
Ensure your VPS is online and accessible. Deploy a VPS from the ColossusCloud control panel:
- Select your preferred data center location
- Choose Ubuntu 24.04 LTS as operating system
- Select at least 2 GB RAM (4 GB recommended for multiple apps)
- VPS deployment completes within a minute
Note the IP address and credentials from your dashboard.
Step 2: SSH connection
Connect to your VPS:
ssh root@your-vps-ip
Step 3: Coolify installation
Run the official installation script:
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
The installer handles:
- Docker installation if absent
- Docker Compose setup
- Coolify container image retrieval
- Web interface configuration
- Service initialization
Installation requires 5-10 minutes depending on connection speed.
Step 4: Dashboard access
After installation, open:
http://your-vps-ip:8000
Create your admin account with a strong password for full deployment control.
Step 5: Domain configuration (recommended)
For production deployments, point a domain to your VPS:
- Create an A record pointing your domain to the VPS IP
- In Coolify, navigate to Settings → Configuration
- Enter your instance domain
- Coolify provisions an SSL certificate automatically
Application deployment options
Git repository deployment
- Click “New Resource” → “Application”
- Select Git provider (GitHub, GitLab, Bitbucket)
- Authorize Coolify for repository access
- Choose repository and branch
- Coolify auto-detects framework and suggests build settings
- Click “Deploy”
Automatic deployments trigger on branch pushes.
Docker image deployment
- Click “New Resource” → “Application”
- Select “Docker Image”
- Enter image name (e.g.,
nginx:latestor private registry images) - Configure ports and environment variables
- Click “Deploy”
Docker Compose deployment
- Click “New Resource” → “Docker Compose”
- Paste
docker-compose.ymlor link repository containing one - Set environment variables
- Click “Deploy”
Adding databases
Coolify simplifies database creation:
- Click “New Resource” → “Database”
- Select database type:
- PostgreSQL
- MySQL / MariaDB
- MongoDB
- Redis
- Additional options available
- Configure settings or accept defaults
- Click “Create”
Connection strings generate automatically. Applications within Coolify can reference databases via internal networking.
Supported frameworks
Coolify auto-detects and builds many frameworks:
JavaScript/TypeScript:
- Next.js, Nuxt.js, Remix
- Node.js (Express, Fastify, etc.)
- Static sites (React, Vue, Svelte)
PHP:
- Laravel
- Standard PHP
Python:
- Django, Flask, FastAPI
Other:
- Go, Rust, Ruby on Rails
- Custom Dockerfiles
- Docker Compose stacks
Unrecognized frameworks accept custom Dockerfile or Nixpacks configurations.
Managing secrets and config
For each application:
- Access application settings
- Select “Environment Variables”
- Add variables (supports
.envfile paste) - Redeploy to apply
Coolify encrypts sensitive variables and distinguishes build-time from runtime variables.
SSL certificate automation
Coolify handles SSL via Let’s Encrypt:
- Set domain in application settings
- Enable “Generate SSL Certificate”
- Certificates provision and renew automatically
Wildcard and custom certificates support manual configuration.
Scaling across multiple VPS
Coolify manages multiple VPS instances from single dashboards:
- Navigate to “Servers”
- Click “Add Server”
- Enter additional VPS details
- Execute provided SSH command on new server
Multi-server use cases:
- Separate production and staging environments
- Geographic distribution across data centers
- Project resource isolation
Comparing self-hosted PaaS options
| Feature | Coolify | Dokku | CapRover |
|---|---|---|---|
| Web UI | Full dashboard | CLI only | Dashboard |
| Git deployment | Yes | Yes | Yes |
| Multi-server | Yes | No | Yes |
| Database management | Built-in | Manual | Built-in |
| Development activity | Very active | Moderate | Moderate |
| Learning curve | Low | Medium | Low |
Coolify distinguishes itself through modern UI, active development, and comprehensive features.
Data protection
Application data
Coolify stores deployment configurations. For application data:
- Use Coolify’s built-in database backup features
- Configure volume backups for persistent data
- Export configurations for version control
Database backups
- Select database resource
- Access “Backups”
- Configure scheduled backups
- Optionally configure S3-compatible storage for offsite copies
Complete VPS backup
For full disaster recovery, enable VPS snapshot backups through ColossusCloud. Complete server state captures include Coolify configuration, all containers, and data.
Firewall security
ColossusCloud’s Cloud Firewall operates at network level, blocking attacks before reaching your server.
Configure through the ColossusCloud control panel:
- Navigate to VPS → Firewall
- Allow required ports:
- 22 (SSH) - Restrict to your IP when possible
- 80 (HTTP) - Required for SSL certificate validation
- 443 (HTTPS) - Application traffic
- 8000 - Coolify dashboard (restrict after initial setup or use domain with SSL)
- Default deny all other incoming traffic
Network-level security includes with every ColossusCloud VPS.
Keeping Coolify current
Dashboard-based updates:
- Navigate to Settings → Configuration
- Click “Update” when available
- Coolify retrieves latest version and restarts
Alternatively via SSH:
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
The installer detects existing installations and performs upgrades.
Troubleshooting
Build failures
Check build logs in the dashboard. Common issues:
- Missing environment variables
- Incorrect build commands
- Resource limits (increase RAM for failing builds)
Dashboard inaccessible
Verify:
- Firewall allows port 8000
- Coolify containers running:
docker ps - Logs:
docker logs coolify
SSL certificate issues
Confirm:
- DNS points to VPS IP
- Port 80 open for Let’s Encrypt validation
- Domain configured correctly in Coolify
When Coolify isn’t the right fit
Consider other options if:
- WordPress-only hosting needed - RunCloud or ServerAvatar focus there
- Managed infrastructure preferred - Heroku, Railway, or Render
- Enterprise support required - Coolify relies on community support
- CLI workflows preferred - Dokku suits command-line users
Official Coolify resources
- Coolify website - Features overview
- Documentation - Installation and configuration reference
- GitHub repository - Source code and issues
- Discord community - Support and discussions
Quick start checklist
- Deploy a VPS with Ubuntu 24.04 LTS (2+ GB RAM)
- Run Coolify installation script
- Create admin account via dashboard
- Connect Git repositories
- Deploy first application
- Enable VPS snapshot backups for disaster recovery
Scaling requires just a few clicks through the ColossusCloud control panel for additional RAM, CPU cores, or storage without migration.
Explore VPS plans for Coolify deployment across our data center locations.