36 lines
1.1 KiB
Markdown
36 lines
1.1 KiB
Markdown
# 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
|
|
```
|