Coolify is an open-source platform that simplifies the process of deploying and managing applications on a VPS. With Coolify, you can run Docker-based applications, static websites, databases, and even Node.js, Laravel, or WordPress projects via the web without needing to manage containers manually.
Coolify is often considered a self-hosted alternative to services like Vercel, Railway, or Heroku. All data and applications run on your own VPS, giving you full control over the server.
In this tutorial, we will cover how to install Coolify on a Debian or Ubuntu VPS using the official installer and how to access the dashboard to start managing your applications.
Preparation Before Installing Coolify
This tutorial was tested using a Debian 13 VPS with the following specifications.
- 2 vCPU
- 2 GB RAM
- 65 GB SSD
If you do not have a VPS yet, you can try the VULTR service from This page to get a $300 trial credit to use the VULTR service.
Coolify can also be installed on Ubuntu 22.04 or Ubuntu 24.04. For light usage or learning purposes, a VPS with 2 GB of RAM is sufficient. However, if you plan to run multiple applications at once, it is recommended to use at least 4 GB of RAM.
Before starting, ensure your VPS has:
- Root access or a user with sudo privileges.
- A domain or subdomain pointing to the VPS (optional, but recommended).
- Ports 80 and 443 accessible from the internet.
How to Install Coolify on a Debian or Ubuntu VPS
How to Install Coolify on a Debian or Ubuntu VPS
1. Update System Packages
Before installing Coolify, update your packages to ensure everything is on the latest version.
sudo apt update && sudo apt upgrade -yIf the VPS requires a restart after the update process is complete, perform a reboot before proceeding to the next step.
2. Install curl
The Coolify installer uses curl to download the installation script. If it is not already available, install it first.
sudo apt install curl -yTo ensure curl has been successfully installed, run:
curl --version3. Run the Official Coolify Installer
Install Coolify using the following official script.
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bashThe installation process usually takes a few minutes because the installer will:
- Install Docker if it is not already available.
- Install Docker Compose.
- Download the Coolify image.
- Create the necessary containers.
- Run all services automatically.
Wait for the process to finish without closing the terminal.
4. Ensure Containers Are Running
After the installation is complete, ensure all containers are running.
docker psIf successful, several Coolify containers will appear with an Up status.
5. Access the Coolify Dashboard
After all containers are running, open your browser and access the address http://IP_VPS:8000. (Replace IP_VPS with your VPS IP address.)
When opened for the first time, Coolify will display a setup page to create an administrator account.
Enter the following information.
- Name
- Password
After the account is successfully created, you can log in directly to the Coolify dashboard.
6. Allow Firewall (Optional)
If your VPS uses UFW, ensure the required ports are allowed.
sudo ufw allow 22/tcpsudo ufw allow 80/tcpsudo ufw allow 443/tcpsudo ufw allow 8000/tcpPort 8000 is generally only used during the initial installation process. After the domain and reverse proxy are configured, access will usually be redirected through port 80 or 443.
How to Update Coolify
Coolify provides an update menu directly from the dashboard. However, if you want to update via the terminal, run the official installer again.
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bashThe installer will update the Coolify components to the latest version without deleting the projects you have created.
Even so, it is still recommended to perform a backup before updating, especially if the server is used in a production environment.
Things to Consider
Before using Coolify as a production server, there are several things you should consider.
- Use a domain so that SSL can be configured easily.
- Perform regular backups for databases and Docker volumes.
- Avoid running too many applications if your VPS only has 2 GB of RAM.
- Ensure Docker has enough storage space because images and volumes will continue to grow over time.
FAQ
Does Coolify support Debian and Ubuntu?
Yes. Coolify can be installed on both Debian and Ubuntu as long as they meet the system requirements and support Docker.
Do I need to install Docker first?
No. The official Coolify installer will automatically install Docker if it is not already available on your VPS.
What is the minimum RAM required to run Coolify?
Coolify can run on a VPS with 2 GB of RAM for light needs. However, for production use or running multiple applications at once, it is recommended to use at least 4 GB of RAM.
Is Coolify free?
Yes. Coolify is an open-source platform that can be used for free on your own server.
Can Coolify be used to deploy WordPress?
Yes. Coolify supports the deployment of various types of applications, including WordPress, Laravel, Node.js, Next.js, databases like MySQL and PostgreSQL, and various Docker-based applications.
Can Coolify replace Vercel or Railway?
Yes, depending on your needs. If you want full control over your server and more flexible costs, Coolify can be a self-hosted alternative to services like Vercel, Railway, or Heroku. However, all server management remains the responsibility of the user.
COMMENTS
Loading...