31b31c779b
Die App läuft künftig nur noch lokal, daher ist Anmeldung nicht mehr nötig: Proxy-Middleware, Login-Seite, Session-Handling, Passkey/WebAuthn (inkl. DB-Tabelle) und der Logout-Button entfallen. Der Einstellungen-Tab enthielt ausschließlich Passkey-Verwaltung und wurde daher ebenfalls entfernt. Nicht mehr benötigte Abhängigkeiten (@simplewebauthn/*, bcryptjs, jose) sowie die zugehörigen Env-Variablen (AUTH_USERS, AUTH_SECRET, RP_ID, RP_ORIGIN, RP_NAME) wurden aus package.json, Docker-Compose-Dateien und Dokumentation gestrichen. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
28 lines
602 B
YAML
28 lines
602 B
YAML
# Docker Compose für lokale Entwicklung auf Esprimo (ohne Traefik)
|
|
services:
|
|
werte-app:
|
|
build:
|
|
context: .
|
|
platforms:
|
|
- linux/amd64
|
|
- linux/arm64
|
|
args:
|
|
BUILD_DATE: ${BUILD_DATE:-$(date +%d.%m.%Y)}
|
|
container_name: werte-next-app
|
|
restart: unless-stopped
|
|
ports:
|
|
- "0.0.0.0:3000:3000"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- DB_HOST=${DB_HOST}
|
|
- DB_USER=${DB_USER}
|
|
- DB_PASS=${DB_PASS}
|
|
- DB_NAME=${DB_NAME}
|
|
networks:
|
|
- sternwarte_default
|
|
|
|
networks:
|
|
sternwarte_default:
|
|
external: true
|
|
|