Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Install Coolify on a VPS and Deploy Your First App

说明与用途

在 Ubuntu 24.04 上安装 Coolify 4.4.6,部署来自公共仓库的 Node.js 应用,将仪表盘绑定到本地主机以保护安全,并通过 Traefik 配置自定义域名和 HTTPS。

问题

Deploy a self‑hosted application platform on a fresh VPS and secure the dashboard before first use.

结果

Coolify installed in 1 min 22 s, Node.js app built in 37 s, HTTPS working, dashboard secured by binding to localhost.

工作流

  • SSH into the server as root or sudo user
  • Run the installer script with a pinned version: curl -fsSL https://cdn.coollabs.io/coolify/install.sh | sudo bash -s 4.4.6
  • Verify installation output and note the .env file location
  • Create a dashboard account immediately or bind port 8000 to 127.0.0.1 using a compose override
  • Apply the override with docker compose --env-file /data/coolify/source/.env -f docker-compose.yml -f docker-compose.prod.yml -f docker-compose.custom.yml up -d --pull always --remove-orphans --force-recreate
  • In the Coolify dashboard, select "This machine", add a public Git repository, set base directory and port, then click Deploy
  • Add a custom domain in the dashboard, ensure DNS A record points to the server and port 80 is open
  • Verify Let’s Encrypt certificate issuance via Traefik
  • Disable automatic nightly updates if desired

证据

The installer sets up Docker, then runs Coolify's own containers next to the apps you deploy

来源

On the test server it finished in 1 minute 22 seconds

来源

My first build took 37 seconds

来源

  • 记录日期: 2026-10-16T07:41:39.434Z