We use a self-hosted Forgejo instance for our Git source code hosting.
URL: git.starcat.systems
Homepage: forgejo.org
Hosting: Hetzner 🇫🇮 HEL
Configuration repo: starcat-infra/git-server
By default, Forgejo is set up to force users to use Pocket (StarCat ID) to log in. In case Pocket is not working, we can change a line in app.ini
to show the local login form. See app.ini line 87. SSH to the server with a sudo-capable account, open app.ini
, and change the line ENABLE_INTERNAL_SIGNIN = false
to ENABLE_INTERNAL_SIGNIN = true
, then restart Forgejo. Then, you can log in with a local break-glass account (see 1Password).