docs: Bonfire FEDERATE + Forgejo rootless (git :9024/:9200)

This commit is contained in:
Hernâni Marques 2026-07-10 14:41:46 +02:00
parent b0efda7731
commit 40ec803464
No known key found for this signature in database
13 changed files with 422 additions and 123 deletions

36
configs/forgejo/README.md Normal file
View file

@ -0,0 +1,36 @@
# Forgejo — git.hacktivism.ch
**Rootless** install (image + rootless podman as `hernani`). Details: `2026/2026-07-10--forgejo-rootless.md`.
| Item | Value |
|------|--------|
| Live path | `/home/hernani/koopa-forgejo/` |
| Compose | `compose.yml` (this dir = mirror) |
| Image | `codeberg.org/forgejo/forgejo:11-rootless` |
| HTTP | **9024** → Caddy `git.hacktivism.ch` |
| Git SSH | **9200** → container 2222 (not via Caddy) |
| DB | `koopa-forgejo-db` postgres:16-alpine |
| Registration | **disabled** (admin-created users only) |
| Admin user | `hernani` (not reserved name `admin`) |
## Files here
| File | Notes |
|------|--------|
| `compose.yml` | live mirror |
| `app.ini.example` | redacted live `data/custom/conf/app.ini` (`@inline-secret@`) |
## Secrets
`koopa-admin-secrets/koopa/home-hernani/koopa-forgejo/{.env,users.env}`
→ live `~/koopa-forgejo/`.
## Ops
```bash
cd ~/koopa-forgejo
set -a && source .env && set +a
podman-compose up -d
curl -sS http://127.0.0.1:9024/api/healthz
# SSH clone: ssh://git@git.hacktivism.ch:9200/<user>/<repo>.git
```