Dev toolsby PyoOfficial template

Deploy Forgejo on your own servers

Lightweight, community-run Git hosting with pull requests, issues, packages and Actions.

What Pyo sets up

Image
data.forgejo.org/forgejo/forgejo:13.0.2
Reached
Web app, on a domain you add
Database
Uses a Postgres database, connected when you deploy
Runs as
One replica with its own data
Replicas
1
Requests
0.1 vCPU · 256 MiB
Limits
1 vCPU · 1 GiB
Storage
10 GiB at /data
Health check
HTTP /api/healthz

How to deploy it

  1. 1

    Install Pyo

    Run the setup command on your server.

  2. 2

    Choose Forgejo

    Open Templates in the dashboard and pick it. Pyo fills in sensible defaults.

  3. 3

    Deploy

    Pick a server and deploy. Pyo runs it and follows the rollout.

Ports

  • http 3000/HTTPInternal until you add a domain
  • ssh 22/TCPPrivate

Good to know

  • Add a domain, then finish the installer there; its database is already filled in. The first account becomes the admin.
  • Git over SSH needs a public port for ssh (22).

Related templates

All templates

Get Pyo running on your server

Run Pyo on any machine, from your laptop or VPS to a dedicated server or homelab.

curl -fsSL https://pyo.dev/install.sh | bash
View on GitHub