Document HomeLab Gitea setup and optimize Content gitignore for template exclusion.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
eae24f1c34
commit
0ced5b17ef
57
Docs/HomelabGit.md
Normal file
57
Docs/HomelabGit.md
Normal file
@ -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).
|
||||||
Loading…
x
Reference in New Issue
Block a user