How to Install Coolify on Ubuntu 24.04
Coolify is an open-source, self-hosted Heroku/Netlify alternative that helps you deploy and manage applications, databases, and services with ease. It comes with a simple web dashboard and supports multiple app stacks.
Prerequisites Checklist π
- Server: A clean instance of Ubuntu 24.04
- Resources: Minimum 2 CPU cores, 2GB RAM, 30GB disk space (4GB RAM recommended for multiple apps)
- Access: Logged in as root user or a user with
sudoprivileges - Ports: Ensure 22, 80, 443, 8000 are open in your firewall
Prepare the Server & Firewall π‘οΈ
Update your system and install curl:
sudo apt update && sudo apt upgrade -y
sudo apt install curl -y
Configure the firewall (UFW) to allow necessary ports:
# Allow SSH, HTTP, HTTPS, and Coolify Dashboard
sudo ufw allow 22/tcp
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw allow 8000/tcp
# Enable the firewall
sudo ufw enable
Run the Quick Installation Script
This will install Docker, Docker Compose, and configure Coolify services automatically:
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | sudo bash
The installation takes about 3β10 minutes.
Wait for: "Congratulations, Your Coolify instance is ready to use".
Access the Coolify Dashboard π
After installation, open your browser and go to:
http://Your_IP_Address:8000
Replace Your_IP_Address with your serverβs public IP.
Initial Setup (Admin Account) π€
On your first visit, youβll be asked to create your administrator account:
- Set a username
- Provide your email
- Choose a strong password
Then log in to your Coolify dashboard.





Set Up a Custom Domain (Recommended for HTTPS) π
Accessing via IP:port is insecure. Use a custom domain with HTTPS:
-
DNS Configuration: Add these A records pointing to Your_IP_Address:
@βYour_IP_Address*βYour_IP_Address(wildcard for deployed apps)
- Coolify Configuration: In the Coolify dashboard β Settings, set the Instance Domain (e.g.,
coolify.yourdomain.com).
Coolify will automatically configure the reverse proxy and SSL certificate.
After a few minutes, access securely at:
https://yourdomain.com CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!
1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month
Available Locations: LAX | MIA | ATL | FRA | AMS