No description
Find a file
2026-10-28 00:02:26 +01:00
update updatechecker: use url directly from const in appinfo 2026-08-02 15:26:52 +02:00
appinfo.yml newer version of container (forgejo/forgejo: 15.0.10 -> 15.0.11) 2026-10-28 00:02:26 +01:00
compose.yml.j2 make container updatable 2026-06-06 19:32:32 +02:00
forgejo-watch-sshkeys.j2 first version to manage sshkeys 2025-08-15 22:15:11 +02:00
forgejo-watch-sshkeys.service.j2 upgraded to appinfo v4 2026-07-22 21:20:47 +02:00
forgejo.service.j2 upgraded to appinfo v4 2026-07-22 21:20:47 +02:00
LICENSE initial commit 2024-10-16 21:03:23 +02:00
README.md updated readme's/documentation 2026-08-31 00:03:17 +02:00

forgejo

ppm app for a self-hosted Forgejo instance (git hosting, issues, CI orchestration, container registry).

What ppm sets up

  • forgejo.service — the forgejo server (codeberg.org/forgejo/forgejo), exposed to nginx via publicurl.
  • forgejo-watch-sshkeys.service — rewrites entries in forgejo's authorized_keys so git+ssh operations are routed into the running container, and keeps ~/.ssh/authorized_keys in sync whenever forgejo regenerates it.

All repository data, the container registry, and forgejo's own config live under ~/data and are backed up.

Config

config:
  publicurl: git.example.com

Anything beyond publicurl is not exposed through config.yml — edit ~/data/gitea/conf/app.ini directly instead (already reachable on the host, since ~/data is bind-mounted into the container) and restart forgejo.service. Every FORGEJO__<SECTION>__<KEY> environment variable Forgejo's own docs mention is just that same app.ini setting exposed a different way — editing the file directly is one less layer of indirection, and app.ini supports value types env vars can't carry cleanly. See forgejo's config cheat sheet for the full list of sections/keys.

Installing from scratch

Run ppm setup --start, then complete forgejo's own first-run admin account setup through its web UI at publicurl. For enabling a Forgejo Actions runner against this instance, see the companion forgejorunner app.