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

Deploy Peon on a DigitalOcean Droplet (self-hosted Docker PaaS)

说明与用途

在 DigitalOcean Droplet 上部署 Peon:创建虚拟机,配置防火墙,安装 Docker,克隆 Peon 仓库,设置 .env,启动服务,并通过 Git 部署示例应用。

问题

Deploying a self-hosted PaaS like Peon on a cloud VM can be complex; users need a clear, repeatable setup process.

结果

Peon is successfully deployed on a DigitalOcean droplet, enabling Git-based application deployments via a self-hosted Docker PaaS.

工作流

  • Create an Ubuntu 24.04 droplet with at least 2 GB RAM and add an SSH key
  • (Optional) Create an A record pointing peon.example.com to the droplet IP
  • SSH into the droplet and run: apt update && apt upgrade -y && ufw allow OpenSSH && ufw allow 80/tcp && ufw allow 443/tcp && ufw enable
  • Install Docker with: curl -fsSL https://get.docker.com | sh && docker --version
  • Clone the Peon repository, set up .env secrets, start Postgres/queue, run migrations, and launch the Peon app and worker
  • Add the droplet to Peon via SSH, create a workspace/project, and deploy a sample Git repo
  • Verify the app URL responds and logs are clean

证据

Peon is an open-source, self-hostable deployment platform. Think Vercel or Heroku workflows on a server you control: Git deploys, Docker Compose, databases, workspaces, and RBAC.

来源

Create an Ubuntu 24.04 LTS droplet (2 GB RAM minimum; 4 GB preferred).

来源

ssh root@YOUR_DROPLET_IP apt update && apt upgrade -y && ufw allow OpenSSH && ufw allow 80/tcp && ufw allow 443/tcp && ufw enable

来源

  • 记录日期: 2026-09-21T19:30:17.087Z