Initial source: RAPPORT Server-App v0.1.0

- Tauri-2-Admin-UI fuer den Rapport-Compose-Stack
- React-Frontend (JSX, kein TS) mit Material-Symbols-Icons
- Service-Cards mit Live-Stats (CPU/RAM), Logs, Restart/Stop
- Backup-/Restore-System mit pg_dumpall + Retention
- Container-Auto-Updates mit Pre-Backup
- App-Auto-Updater (Tauri signiert) gegen latest.json im Repo-Root
- HTTPS-WebUI (axum/rustls) mit Basic-Auth, CSRF, Rate-Limit, Security-Headers
- Setup-Wizard: lädt Docker+Colima+Lima direct von GitHub/docker.com nach ~/.rapport/bin/
- Tray-Modus + macOS-Notifications + Auto-Recovery
- Login-Item via tauri-plugin-autostart
This commit is contained in:
2026-05-24 17:03:50 +02:00
commit e2d2fd9fa2
69 changed files with 14405 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
# Service-Binaries
Plattform-spezifische Binaries fuer alle gebundleten Rapport-Server-Services.
Diese Verzeichnisse sind **leer im Repo** — sie werden vor jedem Build via
[`scripts/download-binaries.sh`](../scripts/download-binaries.sh) gefuellt.
Pinning erfolgt ueber [`manifest.json`](manifest.json).
## Layout
```
binaries/
├── macos-aarch64/
│ ├── postgres
│ ├── gotrue
│ ├── postgrest
│ ├── realtime
│ ├── storage-api
│ ├── kong
│ └── nginx
├── macos-x86_64/ (gleiche Struktur)
├── linux-x86_64/ (gleiche Struktur)
└── windows-x86_64/ (.exe-Endungen)
```
## Wie es zur Laufzeit funktioniert
`tauri.conf.json` listet `../binaries/**/*` unter `bundle.resources`
dadurch wandert das gesamte `binaries/`-Verzeichnis ins App-Bundle unter
`Resources/binaries/`. Zur Laufzeit loest [`src-tauri/src/paths.rs`](../src-tauri/src/paths.rs)
den plattform-passenden Subpfad auf und der Supervisor spawnt von dort.
## Binaries selbst bauen
Postgres und Kong haben offizielle Builds. Bei den Supabase-Komponenten
(GoTrue, PostgREST, Realtime, Storage) ziehen wir die Releases von GitHub.
Realtime-aarch64 ist die offene Frage — siehe
[ARCHITECTURE.md §12](../ARCHITECTURE.md).
View File
View File
View File
+14
View File
@@ -0,0 +1,14 @@
{
"$schema": "./manifest.schema.json",
"comment": "Pinned versions for all bundled service binaries. Bump deliberately; download-binaries.sh consumes this file.",
"services": {
"postgres": { "version": "15.7", "source": "postgresql.org" },
"gotrue": { "version": "2.158.1", "source": "github.com/supabase/gotrue/releases" },
"postgrest": { "version": "12.2.0", "source": "github.com/PostgREST/postgrest/releases" },
"realtime": { "version": "2.30.34", "source": "github.com/supabase/realtime/releases" },
"storage": { "version": "1.11.0", "source": "github.com/supabase/storage-api/releases" },
"kong": { "version": "3.7.1", "source": "konghq.com" },
"nginx": { "version": "1.27.0", "source": "nginx.org" }
},
"platforms": ["macos-aarch64", "macos-x86_64", "linux-x86_64", "windows-x86_64"]
}
View File