Log inSign up

Self-host Coolify for apps, databases and services

Coolify is an open source self-hosted platform that deploys apps from Git, Docker images and Compose files, and runs databases and ready made services behind an automatic HTTPS proxy. Run curl -fsSL https://cdn.coollabs.io/coolify/install.sh | sudo bash on a fresh server, open port 8000 straight away to register the first admin, set an instance domain, and from then on manage everything in the dashboard.

Topic: Containers and PaaS · Tested on: Ubuntu 24.04 and 22.04, Debian 12 and 13 · Updated 2026-12-03

What can Coolify do on a single VPS?

Coolify gives you a browser dashboard for running your own applications in a way similar to a hosted app platform. You can deploy from a public or private Git repository, a Dockerfile, a Docker image or a Compose file; create PostgreSQL, MySQL, MariaDB, MongoDB, Redis and other databases with one form; and launch a large catalogue of prepared services. A reverse proxy (Traefik by default, with Caddy as an option) routes each domain and obtains Let's Encrypt certificates. Coolify can also manage additional servers over SSH, so one dashboard can drive several machines.

What are the requirements?

Plan for at least 2 vCPU, 2 GB of memory and 30 GB of disk for Coolify on its own, more if you build apps on the same server. Supported systems include Ubuntu 22.04 and 24.04 and Debian 12 and 13. Start on a clean install, because the script installs Docker itself and the proxy needs ports 80 and 443. If you have experimented on the server already, reinstall the image first. A quick look at resources and listeners:

nproc
free -h
df -h /
sudo ss -tlnp | grep -E ':(80|443|8000) '

How do you install Coolify?

Download the official script, read it, and run it as root. It installs Docker from the official repository, creates /data/coolify, generates secrets and starts the Coolify containers:

curl -fsSL https://cdn.coollabs.io/coolify/install.sh -o coolify-install.sh
less coolify-install.sh
sudo bash coolify-install.sh

At the end it prints the dashboard address, http://198.51.100.24:8000 on the example server. Check the containers:

sudo docker ps --format 'table {{.Names}}\t{{.Status}}'
sudo ls /data/coolify

You should see containers for Coolify itself, its PostgreSQL and Redis, and the realtime service. The proxy starts once you configure the server in the dashboard.

Why must you register the admin account immediately?

Until an account exists, anyone who opens port 8000 can create the first user and become the owner of your server. Register within moments of the install finishing, use a strong password, and turn on two factor authentication in your profile. Afterwards check the settings page and keep public registration switched off so nobody else can sign up.

How does Coolify reach its own host?

Coolify manages even the local server over SSH as root, using a key the installer places in /root/.ssh/authorized_keys. If you followed SSH hardening and set PermitRootLogin no, the localhost server will show as unreachable. Allow key logins for root while still blocking passwords:

sudo grep -i ^PermitRootLogin /etc/ssh/sshd_config /etc/ssh/sshd_config.d/*.conf
echo "PermitRootLogin prohibit-password" | sudo tee /etc/ssh/sshd_config.d/05-coolify.conf
sudo sshd -t && sudo systemctl reload ssh
sudo sshd -T | grep -i permitrootlogin

OpenSSH uses the first value it reads, and files in sshd_config.d are read in name order before the main file, so remove or rename any earlier file that sets a different value. Then use the validate button on the server page. Password authentication can and should stay disabled.

How do you put the dashboard on HTTPS?

Point a subdomain at the server and enter it as the instance domain. Create an A record for coolify.example.net to 198.51.100.24 (see DNS records), then in Settings set the instance domain to https://coolify.example.net. The proxy requests a certificate and the dashboard moves to that address. Tighten the firewall so only what you need is open:

sudo ufw allow OpenSSH
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw enable
sudo ufw status

Ports 8000, 6001 and 6002 are published by Docker and therefore not filtered by ufw input rules. Once the domain works, confirm from another machine which of them still answer with nc -zv 198.51.100.24 8000, and check the Coolify documentation for closing direct access in your version.

How do you deploy an application?

Create a project, add a resource and pick its source. For a public repository paste the URL; for a private one install the Coolify GitHub App or add a deploy key. Choose the build pack: Nixpacks detects common languages, Dockerfile builds your own file, Docker Compose runs a multi service file like the one in the Docker Compose guide, and Static serves a built site. Then:

  • enter the domain, for example https://app.example.net, and the port the app listens on;
  • add environment variables, marking secrets so they are hidden in logs;
  • press Deploy and follow the build log.

Automatic deploys on push work through the GitHub App or a webhook, and preview deployments for pull requests can be switched on per application.

How do you handle databases and backups?

Add a database as a resource; Coolify creates the container, a volume and credentials, and shows an internal URL for your apps. Keep the database private unless you specifically need outside access. Each database has scheduled backups that store dumps locally and can copy them to an S3 compatible bucket you configure. The Coolify instance itself keeps its data in /data/coolify; back that folder up too, together with the .env file there, which holds the keys needed to restore. The optional daily backups add-on keeps whole disk copies as an extra layer.

How do you update and troubleshoot Coolify?

Updates are offered in the dashboard and can be set to install automatically. You can also run the install script again, which upgrades in place:

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

If the dashboard will not load, check sudo docker ps and sudo docker logs coolify. Certificates that never appear usually mean DNS points elsewhere or port 80 is closed. A localhost server marked unreachable is almost always the root SSH setting above. Builds that stop abruptly tend to be memory limits; watch free -h, add swap, or move to a larger plan using the migration tutorial.

Plans that fit this guide

Base city prices. Every plan includes a dedicated IPv4 address, IPv6, full root and all 18 images.

All prices
PlanFits becauseSizeMonthlyOrder from
A2-4Coolify plus a few apps and a database2 vCPU, 4 GB RAM, 100 GB NVMe$14.40/mo$43.20 for 3 months
A4-8builds on the server and several services4 vCPU, 8 GB RAM, 180 GB NVMe$28.80/mo$86.40 for 3 months

Questions about Coolify on your own server

Is self-hosted Coolify free?

Yes. The self-hosted edition is open source with no feature limits; there is also a paid hosted dashboard, which you do not need.

Can Coolify run on 1 GB of memory?

It is not recommended. Use at least 2 GB, and 4 GB or more if apps are built on the same server.

Does Coolify need root SSH login?

It connects as root with a key, even to its own host. Allow prohibit-password so keys work while passwords stay blocked.

Can I manage other servers from one Coolify?

Yes. Add a server with its IP and an SSH key, and Coolify installs Docker and the proxy there for you.

How is Coolify different from Dokploy?

Both wrap Docker in a dashboard with Git deploys. Coolify ships a larger service catalogue and uses SSH for every server; read the Dokploy guide to compare.