fbf62e6e48
VM-101-Instanz verweist auf shared; Duplikate reduziert. Co-authored-by: Cursor <cursoragent@cursor.com>
27 lines
1.2 KiB
Markdown
27 lines
1.2 KiB
Markdown
# Gäste — Stack-Konfiguration (Compose & Anhang)
|
|
|
|
Compose-Dateien und stack-relevante Konfiguration **ohne** Volumes, Datenbanken, App-Daten oder Secrets.
|
|
|
|
| Ordner | Gast | Host | Rolle |
|
|
|--------|------|------|-------|
|
|
| [vm101-ubuntu/](vm101-ubuntu/) | VM 101 `ubuntu` | pve1 | Docker-Host: Nextcloud, NPM, Gitea, … |
|
|
|
|
**Live-Pfad auf dem Gast:** `/opt/stacks/<stack-name>/`
|
|
|
|
Passwörter in den Repo-Dateien sind durch `REDACTED` ersetzt. Live-Werte nur auf dem jeweiligen Gast.
|
|
|
|
| Gast | Routing / OPNsense |
|
|
|------|-------------------|
|
|
| *(allgemein)* | [../shared/opnsense-docker-subnet-routing.md](../shared/opnsense-docker-subnet-routing.md) |
|
|
| [vm101-ubuntu](vm101-ubuntu/) | [docbr0-opnsense-routing.md](vm101-ubuntu/docbr0-opnsense-routing.md) |
|
|
|
|
**Sync vom Gast (Beispiel VM 101):**
|
|
|
|
```bash
|
|
# Von einem Host mit SSH-Zugang — nur Compose + Config, keine Daten
|
|
rsync -av --exclude='data/' --exclude='db/' --exclude='mysql/' --exclude='gitea/' \
|
|
--exclude='config/www/' --exclude='config/log/' --exclude='letsencrypt/' \
|
|
jean@192.168.10.10:/opt/stacks/ ./guests/vm101-ubuntu/stacks-live/
|
|
# Anschließend Secrets redigieren, dann ins Repo übernehmen
|
|
```
|