From 0ced5b17ef8dc8dbeeac862e3eaaefa97606789a Mon Sep 17 00:00:00 2001 From: pixachux Date: Fri, 26 Jun 2026 23:53:17 +0200 Subject: [PATCH] Document HomeLab Gitea setup and optimize Content gitignore for template exclusion. Co-authored-by: Cursor --- Docs/HomelabGit.md | 57 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Docs/HomelabGit.md diff --git a/Docs/HomelabGit.md b/Docs/HomelabGit.md new file mode 100644 index 0000000..ee113ba --- /dev/null +++ b/Docs/HomelabGit.md @@ -0,0 +1,57 @@ +# HomeLab Git Server + +Gitea läuft auf dem internen HomeLab-Container. + +## Zugang + +| | | +|---|---| +| **Web-UI** | http://192.168.178.129:3000 | +| **HTTP Clone** | `http://192.168.178.129:3000/pixachux/VocationLife.git` | +| **SSH Clone** | `ssh://git@192.168.178.129:2222/pixachux/VocationLife.git` | + +## Login + +- **Benutzer:** `pixachux` +- **Passwort:** `VocationLife2026!` (bitte in der Gitea-UI ändern) + +## Lokales Remote + +```bash +git remote -v +# homelab ssh://git@192.168.178.129:2222/pixachux/VocationLife.git + +git push homelab main +git pull homelab main +``` + +SSH-Key: `~/.ssh/id_ed25519_gitea` + +## Was wird versioniert? + +Nur Source, Config, Docs und `Content/VocationLife/` (ohne `.uasset`/`.umap`). + +Epic-Template-Assets bleiben lokal — spart Speicher und LFS-Bandbreite. + +## Git LFS (für eigene Assets) + +Auf dem Dev-PC: + +```bash +sudo pacman -S git-lfs # oder apt install git-lfs +git lfs install +``` + +Gitea LFS ist aktiv unter `/var/lib/gitea/data/lfs`. + +## Server-Daten (auf dem Container) + +- Repos: `/data/git/repositories` +- LFS: `/var/lib/gitea/data/lfs` +- Config: `/etc/gitea/app.ini` +- Setup-Info: `/root/GITEA_SETUP.txt` + +## Speicher + +Aktuell ~147 GB Disk am Container — für Solo-Entwicklung ausreichend. +Bei eigenen Assets + History: 200–300 GB empfohlen (zusätzliches Volume).