Opens a larger view. Escape closes it.

home-server

README.md

Forgejo

The git server everything else answers to. This site’s repository lives here, and so does a mirror of every other stack’s compose file, so the machine’s own definition is kept on the machine.

One container, codeberg.org/forgejo/forgejo:12. Port 3000 is the web UI and the API; port 2222 is git over SSH, because the host’s own 22 is spoken for. Registration is off and the install is locked, both set through FORGEJO__* environment variables, so the compose file is the whole configuration. app.ini is what the container wrote from those variables plus its paths under /data; everything persistent — the repositories, the SQLite database, sessions, avatars — sits in the one bind mount, /path/to/home/forgejo/data.

  • docker-compose.yml — the stack as Portainer runs it
  • app.ini — the generated configuration, secrets replaced