Coolify Initial Setup
Install Coolify on your server in less than 5 minutes with a single command. Complete step-by-step guide.
Prerequisites
Before starting, you need:
- Linux server with Ubuntu 22.04+ or Debian 12+
- Root access via SSH
- 2 GB RAM minimum (4 GB recommended)
- Open ports: 22 (SSH), 80 (HTTP), 443 (HTTPS)
Don’t have a server? I recommend Hetzner (starting at €3.79/month) or Oracle Cloud (generous free tier with ARM).
Step 1: Connect to Server
ssh root@your-server-ip
If using SSH key (recommended):
ssh -i ~/.ssh/your-key root@your-server-ip
Step 2: Install Coolify
Run the official installation script:
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
The script will:
- ✅ Check system requirements
- ✅ Install Docker if needed
- ✅ Download and configure Coolify
- ✅ Start containers
Estimated time: 2-5 minutes depending on connection.
Step 3: Access the Panel
After installation, access:
http://your-server-ip:8000
First time setup:
- Create your admin account
- Configure the server as “localhost”
- Done! 🎉
Step 4: Configure a Domain (Optional)
To access via domain instead of IP:
4.1 Point DNS
In your DNS provider (Cloudflare, Route53, etc.):
Type: A
Name: coolify (or @ for root)
Value: your-server-ip
TTL: Auto
4.2 Configure in Coolify
- Go to Settings → Configuration
- In Instance’s Domain, enter:
https://coolify.yourdomain.com - Click Save
- SSL will be configured automatically
Required Ports
Make sure these ports are open in firewall:
| Port | Protocol | Use |
|---|---|---|
| 22 | TCP | SSH |
| 80 | TCP | HTTP (redirect to HTTPS) |
| 443 | TCP | HTTPS |
| 8000 | TCP | Coolify panel (before domain setup) |
Useful firewall commands
UFW (Ubuntu):
ufw allow 22/tcp
ufw allow 80/tcp
ufw allow 443/tcp
ufw enable
firewalld (CentOS/Fedora):
firewall-cmd --permanent --add-port=22/tcp
firewall-cmd --permanent --add-port=80/tcp
firewall-cmd --permanent --add-port=443/tcp
firewall-cmd --reload
Verifying Installation
To confirm everything is running:
docker ps
You should see containers like:
coolifycoolify-proxy(Traefik)coolify-db(PostgreSQL)coolify-redis
Troubleshooting
Error: “Cannot connect to Docker daemon”
systemctl start docker
systemctl enable docker
Port 8000 not responding
Check if container is running:
docker logs coolify
SSL not working
- Check if DNS propagated:
dig coolify.yourdomain.com - Ports 80 and 443 must be open
- Wait a few minutes — Let’s Encrypt may take time
Updating Coolify
Coolify auto-updates by default. To force update:
cd /data/coolify/source
docker compose pull
docker compose up -d
Next Steps
Now that Coolify is installed:
- Deploy your first app — Connect GitHub and deploy
- Configure Database — PostgreSQL, MySQL or MongoDB
- Automatic Backups — Protect your data
Important: Never expose port 8000 in production. Configure a domain with SSL as soon as possible.
Coolify.io