Initial commit: Nexus Mission Control Platform
- ASP.NET Core 10 Backend (JWT Auth, Agent config API) - Vue 3 Frontend (Dashboard, Team, Agents, Config Editor) - PostgreSQL Database - Docker Compose setup - Mission Control Dashboard redesign
This commit is contained in:
Executable
+36
@@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
# Nexus Deployment Script
|
||||
# Auf dem VPS-HOST ausführen, nicht im Container!
|
||||
set -e
|
||||
|
||||
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
|
||||
NEXUS_DIR="$(dirname "$SCRIPT_DIR")"
|
||||
|
||||
echo "=== Nexus Deployment ==="
|
||||
echo "Verzeichnis: $NEXUS_DIR"
|
||||
|
||||
cd "$NEXUS_DIR"
|
||||
|
||||
echo ""
|
||||
echo "[1/3] Prüfe Konfiguration..."
|
||||
docker compose config --quiet && echo " ✅ Konfiguration gültig"
|
||||
|
||||
echo ""
|
||||
echo "[2/3] Starte Stack..."
|
||||
docker compose up -d
|
||||
|
||||
echo ""
|
||||
echo "[3/3] Warte auf Services..."
|
||||
sleep 5
|
||||
docker compose ps
|
||||
|
||||
echo ""
|
||||
echo "=== Fertig ==="
|
||||
echo "Nexus Web: http://nexus.noveria.net:18880"
|
||||
echo "Login: vmbao62@hotmail.de"
|
||||
echo "Passwort: wird beim ersten Start im Container-Log ausgegeben"
|
||||
echo ""
|
||||
echo "Logs: docker compose logs api | grep 'Initial owner'"
|
||||
echo "Status: docker compose ps"
|
||||
# Patch für compose.yaml
|
||||
sed -i 's/${OWNER_PASSWORD:?Set OWNER_PASSWORD in .env}/${OWNER_PASSWORD:-}/' "$NEXUS_DIR/compose.yaml"
|
||||
Reference in New Issue
Block a user