Local-Deploy-Modus: Stack + Migrations per pct push statt Gitea

- rapport-lxc.sh: LOCAL_STACK / LOCAL_MIGRATIONS Tarballs werden per
  pct push in den Container geschoben statt git clone / sync-migrations
- deploy-local.sh: läuft auf dem Mac, tart die lokalen Working-Copies
  (SERVER-CONTAINER + APP/supabase/migrations), scp auf den Proxmox-Host,
  ruft rapport-lxc.sh im Local-Modus mit durchgereichten Parametern
- README: Local-Deploy als empfohlener Test-Pfad dokumentiert

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-05-30 12:23:24 +02:00
parent 8c1c804eb1
commit 1227e2716d
3 changed files with 134 additions and 13 deletions
+24
View File
@@ -32,6 +32,30 @@ Läuft auf der **Proxmox-VE-Host-Shell** und:
## Benutzung
### A) Local-Deploy vom Mac (zum Testen, ohne Gitea) ← empfohlen für jetzt
Schiebt die **lokalen** Working-Copies von `SERVER-CONTAINER` + den APP-Migrations
per scp/`pct push` in den Container — nichts muss vorher auf Gitea gepusht sein.
Auf deinem **Mac**, im Repo-Verzeichnis:
```bash
PVE_HOST=root@<proxmox-ip> bash deploy-local.sh
```
Mit Parametern:
```bash
PVE_HOST=root@192.168.1.10 RAM_MB=8192 NET_IP=192.168.1.50/24 NET_GW=192.168.1.1 \
bash deploy-local.sh
```
Voraussetzung: SSH-Zugang als root auf den Proxmox-Host. `deploy-local.sh` erwartet
die Schwester-Repos unter `~/RAPPORT/SERVER-CONTAINER` und `~/RAPPORT/APP`
(überschreibbar via `STACK_DIR` / `APP_DIR`).
### B) Ein-Befehl vom Gitea (wenn dieses Repo gepusht ist)
Auf der **Proxmox-Host-Shell** (als root):
```bash