Forgejo

Git forge to host yourself: repositories, users, SSH access and CI/CD with Forgejo Actions and self-hosted runners. Codeberg runs on it.

Website ↗

Forgejo is a Git forge you host yourself: repositories, users, SSH access and, with Forgejo Actions, CI/CD on your own runners. Codeberg runs on it. I run it as a rootless Podman container on my VPS and deploy with a Forgejo Actions runner on the same machine.

What matters in practice

  • Image: the rootless image codeberg.org/forgejo/forgejo:<major>-rootless comes from Codeberg, not from Docker Hub.
  • Configuration: custom/conf/app.ini in the data volume. Actions stay off until [actions] ENABLED = true.
  • Actions: DEFAULT_ACTIONS_URL = https://code.forgejo.org points uses: to Forgejo's mirrors of common actions such as actions/checkout.
  • SSH: the built-in SSH server listens on a port of its own (2222 in my setup), next to the system's SSH on 22.
  • Resources: about 130 to 145 MB of RAM in operation.

More on this

Used in

Show in the graph view →