- Coolify Tutorial: Setup From Scratch
- Introduction
- What is Coolify?
- Why Use Coolify?
- Prerequisites
- Step 1: Prepare Your Server
- Step 2: Install Docker
- Step 3: Install Docker Compose
- Step 4: Install Coolify
- Step 5: Access the Dashboard
- Step 6: Add Your Server
- Step 7: Connect Git Provider
- Step 8: Create a New Project
- Step 9: Deploy Your First Application
- Step 10: Configure Domain and SSL
- Step 11: Deploy Databases
- Step 12: Monitor Your Deployment
- Best Practices for New Users
- Common Setup Issues
- Conclusion
- Related Reading
- FAQs
Coolify Tutorial: Setup From Scratch
Introduction
Managing application deployments can be challenging, especially for developers who want the simplicity of platforms like Heroku, Render, or Railway without the recurring costs and vendor lock-in. This is where Coolify has emerged as one of the most popular open-source self-hosted Platform-as-a-Service (PaaS) solutions.
Coolify allows developers to deploy applications, databases, Docker containers, and services through a user-friendly dashboard while maintaining complete control over their infrastructure. Instead of relying on third-party cloud providers to manage deployments, users can host everything on their own servers.
If you’re new to Coolify, this step-by-step tutorial will guide you through setting up Coolify from scratch, including server preparation, installation, configuration, and deploying your first application.
What is Coolify?
Coolify is an open-source deployment platform that simplifies hosting and infrastructure management.
It acts as a self-hosted alternative to:
- Heroku
- Render
- Railway
- Fly.io
- Vercel
With Coolify, you can:
- Deploy applications
- Host databases
- Manage Docker containers
- Configure domains
- Enable SSL certificates
- Monitor deployments
All from a centralized dashboard.
Why Use Coolify?
Before diving into the setup process, let’s understand why developers are choosing Coolify in 2026.
Complete Infrastructure Control
You own the server and data.
Lower Hosting Costs
Pay only for your infrastructure rather than expensive managed platform fees.
Open-Source Flexibility
Customize the platform according to your requirements.
Developer-Friendly Experience
Deploy applications with minimal configuration.
Multi-Service Management
Handle applications, databases, and containers from one interface.
These benefits make Coolify an attractive solution for startups, agencies, SaaS companies, and individual developers.
Prerequisites
Before installing Coolify, ensure you have the following:
Server Requirements
Minimum recommendations:
- Ubuntu 22.04 LTS
- 2 CPU cores
- 4GB RAM
- 20GB storage
Recommended for production:
- 4+ CPU cores
- 8GB RAM or higher
- SSD storage
Domain Name
Although optional initially, a domain simplifies SSL configuration and production deployments.
Root Access
You will need SSH access to your server with administrative privileges.
Internet Connection
The server must have internet access to download required components.
Step 1: Prepare Your Server
Connect to your server via SSH:
ssh root@your-server-ip
Update system packages:
sudo apt update && sudo apt upgrade -y
Keeping the server updated helps prevent compatibility and security issues.
Step 2: Install Docker
Coolify relies heavily on Docker for container management.
Install Docker using the official installation method:
curl -fsSL https://get.docker.com | sh
Verify the installation:
docker --version
You should see the installed Docker version displayed.
Step 3: Install Docker Compose
Most modern Docker installations include Docker Compose.
Verify availability:
docker compose version
If Docker Compose is missing, install it according to your operating system requirements.
Step 4: Install Coolify
Coolify provides an automated installation script that simplifies deployment.
Run the installation command:
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
The script will:
- Download required containers
- Configure networking
- Create storage volumes
- Launch Coolify services
Depending on your server speed, installation usually takes a few minutes.
Step 5: Access the Dashboard
Once installation completes, open your browser and visit:
http://your-server-ip:8000
You should see the Coolify setup screen.
Create:
- Administrator account
- Email address
- Password
This account will manage all future deployments.
Step 6: Add Your Server
After logging in, Coolify requires you to register your infrastructure.
Navigate to:
Servers → Add Server
Provide:
- Server name
- IP address
- SSH credentials
Once connected, Coolify can deploy applications directly to the server.
Step 7: Connect Git Provider
Coolify integrates with popular Git platforms.
Supported providers include:
- GitHub
- GitLab
- Bitbucket
- Gitea
Connecting your repository enables automated deployments whenever new code is pushed.
This forms the foundation of a continuous deployment workflow.
Step 8: Create a New Project
Projects help organize applications and services.
Examples include:
- SaaS Application
- Company Website
- Internal Tools
- API Services
Creating projects makes infrastructure easier to manage as deployments grow.
Step 9: Deploy Your First Application
Now it’s time to launch an application.
Select:
New Resource → Application
Choose:
- Repository
- Branch
- Build pack or Dockerfile
- Environment variables
Coolify automatically detects many common frameworks.
Supported technologies include:
- Node.js
- Laravel
- PHP
- Python
- Next.js
- React
- Vue.js
- Go
- Docker applications
Click Deploy to start the process.
Step 10: Configure Domain and SSL
After deployment, connect your custom domain.
Example:
app.yourdomain.com
Coolify automatically generates SSL certificates through Let’s Encrypt.
This ensures secure HTTPS connections without manual certificate management.
Step 11: Deploy Databases
Many applications require databases.
Coolify supports:
- PostgreSQL
- MySQL
- MariaDB
- MongoDB
- Redis
You can deploy and manage databases directly from the dashboard without additional tools.
Step 12: Monitor Your Deployment
Coolify includes monitoring features that help track application performance.
You can review:
- Deployment history
- Logs
- Resource usage
- Container status
Monitoring helps identify issues before they affect users.
Best Practices for New Users
To get the most out of Coolify:
Start Small
Deploy one application before managing multiple services.
Use Environment Variables
Never hardcode API keys or secrets.
Enable Backups
Regular backups protect critical data.
Keep Software Updated
Update both Coolify and server packages regularly.
Monitor Resource Usage
Track CPU, memory, and storage consumption.
These practices improve reliability and long-term scalability.
Common Setup Issues
Docker Installation Errors
Verify Docker is installed correctly and running.
Firewall Problems
Ensure required ports are open.
Domain Configuration Issues
Check DNS records and propagation.
SSL Certificate Errors
Verify domain settings before requesting certificates.
Most issues can be resolved through logs and dashboard diagnostics.
Conclusion
Coolify makes self-hosted application deployment significantly easier by combining modern DevOps automation with full infrastructure ownership. Its simple interface, Docker integration, automatic SSL management, Git connectivity, and database support make it one of the most powerful deployment platforms available in 2026.
By following this tutorial, you can set up Coolify from scratch, deploy your first application, and begin managing infrastructure with confidence. Whether you’re building a startup, hosting client projects, or managing internal applications, Coolify provides a flexible and cost-effective deployment solution.
Related Reading
What is Coolify? Complete Beginner Guide 2026
Paperclip App Review: Features, Benefits & Use Cases (2026)
Also Read:- How to Build Automation Workflows Using n8n
Let’s Get Social:
Facebook: https://www.facebook.com/vyomcloudnetwork/
LinkedIn: https://www.linkedin.com/company/vyomcloud/
Instagram: https://www.instagram.com/vyomcloud/
FAQs
What is Coolify used for?
Coolify is used to deploy, host, and manage applications, databases, and Docker containers on self-hosted infrastructure.
Is Coolify free?
Yes. Coolify is open-source and free to self-host. Users only pay for the server resources they use.
Do I need Docker for Coolify?
Yes. Coolify relies on Docker for managing containers and application deployments.
Can Coolify replace Heroku?
Yes. Many developers use Coolify as a self-hosted alternative to Heroku, Render, Railway, and similar platforms.
Does Coolify support databases?
Yes. Coolify supports PostgreSQL, MySQL, MariaDB, MongoDB, Redis, and other popular database systems.
Is Coolify beginner-friendly?
Yes. While some basic server knowledge helps, Coolify simplifies deployment and infrastructure management significantly.