Initialer Commit

This commit is contained in:
2026-04-19 19:54:11 +02:00
commit afdda854d5
114 changed files with 424430 additions and 0 deletions

19
deploy.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
set -e
REMOTE_CONTEXT="proxmox-remote"
IMAGE_NAME="linkster-backend"
TAG="latest"
echo "--- 1. Gradle Build: Erstelle JAR und Docker Image lokal ---"
./gradlew bootJar
docker build -t $IMAGE_NAME:$TAG .
echo "--- 2. Transfer: Image zum Proxmox-Server schieben ---"
docker save $IMAGE_NAME:$TAG | docker --context $REMOTE_CONTEXT load
echo "--- 3. Remote Deployment: Starten auf Proxmox ---"
docker --context $REMOTE_CONTEXT compose up -d --force-recreate
echo "--- Fertig! Backend läuft auf Port 8090 ---"
echo "--- Erreichbar unter: https://linkster.langhei.de/api/ ---"