# Coolify

> Your own Heroku-style platform: deploy apps and databases from Git with a web UI.

Coolify is an open-source, self-hosted platform for deploying apps, databases and services from Git, with automatic HTTPS. Its official installer runs on first boot and sets up Docker and Coolify's containers; you finish setup in its web dashboard.

## Details

- Installs on: Ubuntu and Debian
- Smallest plan: Standard (2 vCPU, 4 GB RAM)
- Public ports: 80/tcp, 443/tcp
- Project site: https://coolify.io/

## After the server is ready

1. Wait for the installer to finish, about five minutes after the server is ready: `/var/lib/vps9-setup.exit` appears.
2. From your computer, run `ssh -L 8000:127.0.0.1:8000 -L 6001:127.0.0.1:6001 -L 6002:127.0.0.1:6002 root@<your IPv4>`, open `http://localhost:8000` and create the admin account, then turn on two-factor login. Ports 8000, 6001 and 6002 are blocked from outside the server, so the tunnel is the way in.
3. Coolify only lets you create that first account in the 10 minutes after it starts. If the page says "Setup window closed", run `docker restart coolify` on the server, wait about a minute, and reload.
4. Point a domain at the server, allow 80 and 443 in the panel firewall if you filter, and set the domain as the instance domain in Coolify's Settings. Traefik gets a certificate and the dashboard moves to HTTPS on 443.
5. Optional: to reach 8000 directly again, run `vps9-coolify-open` on the server. It removes the block for good, and the panel firewall decides from then on.

## Order it

Pick Coolify in the order form, or use `"app": "coolify"` in the API or `rack4 servers create --app coolify`. See [all one-click apps](https://rack4.io/apps) and [plans](https://rack4.io/plans).
