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

1.8 KiB

type
type
Index

Guides

Every guide ends with a checklist; tick it before moving on. Router port-forwards are created only after 09's checklist — until then the server stays LAN-only.

Setup order — follow top to bottom

  1. 01-arch-install.md — base OS from a live USB: partitions, packages, bootloader, user
  2. 02-server-first-boot.md — lid never suspends, first boot, network, IP pinned at the router
  3. 03-ssh-hardening.md — key-only admin SSH on 2234, LAN-only, WireGuard for remote admin
  4. 04-dns-records.md — CGNAT check, Cloudflare A records, API token
  5. 05-ddns.md — ddclient keeps the records on the home IP
  6. 06-docker-deploy.md — compose.yml, Caddyfile, TLS (staging, then production)
  7. 07-gitea-setup.md — install wizard, 2FA, SSH keys, tokens
  8. 08-firewall.md — nftables host firewall, survives reboot
  9. 09-fail2ban.md — bans for admin SSH and Gitea logins, Gitea hardening; then port-forwards
  10. 10-backup-manual.md — tar archive to the backup drive plus restore test (scripts/backup.sh)
  11. 11-backup-automated.md — nightly restic to the backup drive, failure mail, weekly report
  12. 12-gitea-actions.md — Actions runner on the server, profile snake

Operations — when needed