5a4f7a7333
Compose und stack-relevante Config ohne Volumes/Daten; Secrets REDACTED. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
901 B
Markdown
22 lines
901 B
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.
|
|
|
|
**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
|
|
```
|