mithlond-public/OKF/CONTEXT.md
Lukasz Boryn c12604ebb4 feat(template): publish the Mithlond self-hosted Gitea template
A spare-machine Gitea forge, hardened, backed up and with CI, as a template.
Personal values are placeholders listed in the README.
2026-10-16 15:04:18 +02:00

37 lines
1.8 KiB
Markdown

---
type: Glossary
purpose: Hold the one canonical glossary for Mithlond.
answers:
- "What does each domain term in this project mean, canonically?"
cites:
- compose.yml
---
# Mithlond — Vocabulary
See [ROADMAP.md](ROADMAP.md) for the project plan. Terms here are canonical; Roadmap uses these exact names.
## Terms
**Gitea** — self-hosted Git forge (issue tracker, code review, user management). Runs as a single Docker container. Public/private repos controlled per-repository.
**Caddy** — reverse proxy with automatic TLS via Let's Encrypt. Handles HTTPS termination; forwards to Gitea internally.
**Docker Compose** — multi-container orchestration tool. Single `compose.yml` defines Gitea + Caddy services, volumes, and networking.
**SQLite** — embedded database used by Gitea. No separate process; stored as a single file inside the Gitea data volume.
**DDNS (Dynamic DNS)** — mechanism that keeps a domain A record pointing at a home IP address that changes. Implemented via ddclient + Cloudflare DNS API.
**ddclient** — daemon that detects home IP changes and updates the Cloudflare DNS A record automatically.
**Gitea data volume** — Docker bind-mount directory (`./gitea-data/`) containing all Gitea state: SQLite DB, bare repos, config (`app.ini`), attachments, avatars.
**gitea dump** — built-in Gitea CLI command that produces a zip archive of all Gitea state. Alternative to raw volume copy for backups.
**Port forward** — router rule directing an external port to an internal machine port. Three required: 80 (HTTP→ACME), 443 (HTTPS), 2222 (Gitea SSH).
**Admin SSH** — SSH access to the Arch host for server management. Runs on a non-standard port (2234) to avoid conflict with Gitea SSH on 2222.
**Gitea SSH** — SSH endpoint for `git push`/`git clone` over SSH. Gitea container listens on port 22 internally, mapped to host port 2222.