Support Online
Skip to main content

Nginx Setup: Build Your Own PaaS Infrastructure with Coolify

What will you learn in this guide?

In this guide, you will learn how to set up a PaaS environment on your own server using Coolify.
You will discover how to manage Docker-based applications, databases and CI/CD processes from a single panel.
With free SSL certificates, you will see the ability to launch applications quickly.

🧠 Technical Summary

This guide explains the installation and basic use of Coolify on Ubuntu server.
The goal is to use a central panel instead of manually managing Docker and reverse proxy builds.
Period; It covers server preparation, Coolify installation, server addition and application publishing steps.


What is Coolify and Why Should You Use It?

Coolify; Docker is an open source PaaS solution that combines reverse proxying and multi-server management in a web interface.
It offers a Heroku-like experience on your own cloud servers.

Highlights

  • Central panel: Manage applications, databases and backups from a single point.
  • Automatic HTTPS: Let's Encrypt certificates are obtained automatically with Traefik integration.
  • Git integration: Automatic deployment via GitHub and GitLab.
  • Multiple server support: Multiple servers can be added via SSH.

Installation Steps

1️⃣ Server Preparation

Connect to a Ubuntu 22.04 or later server as root user.

sudo apt update && sudo apt upgrade -y
  • This command updates the package list and upgrades system components.

2️⃣ Coolify Installation

  • Coolify can be installed with a single command.


curl -fsSL https://cdn.coollabs.io/coolify/install.sh | sudo bash
  • This script automatically installs Docker, Traefik and Coolify services.

3️⃣ Panel Access and User Creation

  1. When the installation is completed, a panel address is displayed on the terminal.
  • Create your administrator account by entering this address from the browser. Describe your first project and environment (Production or Staging).

4️⃣ Adding a Remote Server (Optional)

  1. You can add a new server to run applications on a different server.

echo "ssh-ed25519 AAAA... coolify" | sudo tee -a ~/.ssh/authorized_keys
  • This command allows the Coolify panel to access the target server via SSH.

5️⃣ Publishing an Application via Docker Hub (Jenkins Example)

  1. You can add ready-made Docker images with the Add Resource option from the panel.

Image: jenkins/jenkins:lts

Port: 8080

Domain name: jenkins.example.com

  • This process launches Jenkins with HTTPS support.

Frequently Asked Questions (FAQ)

1. Is Coolify completely free? Yes. Coolify is open source and has no licensing fees.

2. If the Coolify panel closes, will the applications stop? No. Running Docker containers continue to run.

3. What is the minimum system requirement? At least 2 CPU cores and 4 GB RAM are recommended.

4. Can a database backup be made? Yes. Scheduled backup can be defined for PostgreSQL, MySQL and MongoDB.


ProblemPossible CauseSolution
SSH connection errorSwitch missing or port closedCheck authorized_keys and firewall
Unable to obtain SSL certificateDNS record is invalidVerify that the domain is pointing to the correct IP address
Application does not startMissing environment variableExamine the logs and add necessary variables

Result

Coolify offers a practical and powerful PaaS alternative for Docker-based applications. You can make secure and scalable deployments without the burden of manual configuration.

You can try this structure immediately on the GenixNode platform to grow your projects by establishing your own PaaS infrastructure.