Implement Node.js backend rewrite with SQLite authentication, admin dashboard and One-Click docker update

This commit is contained in:
Kroonk
2026-04-12 15:40:46 +02:00
parent 1c233db10e
commit 5747813d2d
11 changed files with 2910 additions and 105 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/sh
FULLS_DIR="/usr/share/nginx/html/images/fulls"
THUMBS_DIR="/usr/share/nginx/html/images/thumbs"
FULLS_DIR="/app/public/images/fulls"
THUMBS_DIR="/app/public/images/thumbs"
generate_thumbs() {
mkdir -p "$THUMBS_DIR"
@@ -35,5 +35,5 @@ echo "=== Thumbnail-Generierung abgeschlossen ==="
generate_thumbs
done) &
# nginx starten
nginx -g 'daemon off;'
# Node Server starten
cd /app && node backend/server.js