A previous `git pull --rebase origin main` dropped 177 local commits,
losing 3400+ files across admin-v2, backend, studio-v2, website,
klausur-service, and many other services. The partial restore attempt
(660295e2) only recovered some files.
This commit restores all missing files from pre-rebase ref 98933f5e
while preserving post-rebase additions (night-scheduler, night-mode UI,
NightModeWidget dashboard integration).
Restored features include:
- AI Module Sidebar (FAB), OCR Labeling, OCR Compare
- GPU Dashboard, RAG Pipeline, Magic Help
- Klausur-Korrektur (8 files), Abitur-Archiv (5+ files)
- Companion, Zeugnisse-Crawler, Screen Flow
- Full backend, studio-v2, website, klausur-service
- All compliance SDKs, agent-core, voice-service
- CI/CD configs, documentation, scripts
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
125 lines
3.9 KiB
Plaintext
125 lines
3.9 KiB
Plaintext
# BreakPilot PWA - Environment Configuration
|
|
# Kopieren Sie diese Datei nach .env und passen Sie die Werte an
|
|
|
|
# ================================================
|
|
# Allgemein
|
|
# ================================================
|
|
ENVIRONMENT=development
|
|
# ENVIRONMENT=production
|
|
|
|
# ================================================
|
|
# Sicherheit
|
|
# ================================================
|
|
# WICHTIG: In Produktion sichere Schluessel verwenden!
|
|
# Generieren mit: openssl rand -hex 32
|
|
JWT_SECRET=CHANGE_ME_RUN_openssl_rand_hex_32
|
|
JWT_REFRESH_SECRET=CHANGE_ME_RUN_openssl_rand_hex_32
|
|
|
|
# ================================================
|
|
# Keycloak (Optional - fuer Produktion empfohlen)
|
|
# ================================================
|
|
# Wenn Keycloak konfiguriert ist, wird es fuer Authentifizierung verwendet.
|
|
# Ohne Keycloak wird lokales JWT verwendet (gut fuer Entwicklung).
|
|
#
|
|
# KEYCLOAK_SERVER_URL=https://keycloak.breakpilot.app
|
|
# KEYCLOAK_REALM=breakpilot
|
|
# KEYCLOAK_CLIENT_ID=breakpilot-backend
|
|
# KEYCLOAK_CLIENT_SECRET=your-client-secret
|
|
# KEYCLOAK_VERIFY_SSL=true
|
|
|
|
# ================================================
|
|
# E-Mail Konfiguration
|
|
# ================================================
|
|
|
|
# === ENTWICKLUNG (Mailpit - Standardwerte) ===
|
|
# Mailpit fängt alle E-Mails ab und zeigt sie unter http://localhost:8025
|
|
SMTP_HOST=mailpit
|
|
SMTP_PORT=1025
|
|
SMTP_USERNAME=
|
|
SMTP_PASSWORD=
|
|
SMTP_FROM_NAME=BreakPilot
|
|
SMTP_FROM_ADDR=noreply@breakpilot.app
|
|
FRONTEND_URL=http://localhost:8000
|
|
|
|
# === PRODUKTION (Beispiel für verschiedene Provider) ===
|
|
|
|
# --- Option 1: Eigener Mailserver ---
|
|
# SMTP_HOST=mail.ihredomain.de
|
|
# SMTP_PORT=587
|
|
# SMTP_USERNAME=noreply@ihredomain.de
|
|
# SMTP_PASSWORD=ihr-sicheres-passwort
|
|
# SMTP_FROM_NAME=BreakPilot
|
|
# SMTP_FROM_ADDR=noreply@ihredomain.de
|
|
# FRONTEND_URL=https://app.ihredomain.de
|
|
|
|
# --- Option 2: SendGrid ---
|
|
# SMTP_HOST=smtp.sendgrid.net
|
|
# SMTP_PORT=587
|
|
# SMTP_USERNAME=apikey
|
|
# SMTP_PASSWORD=SG.xxxxxxxxxxxxxxxxxxxxx
|
|
# SMTP_FROM_NAME=BreakPilot
|
|
# SMTP_FROM_ADDR=noreply@ihredomain.de
|
|
|
|
# --- Option 3: Mailgun ---
|
|
# SMTP_HOST=smtp.mailgun.org
|
|
# SMTP_PORT=587
|
|
# SMTP_USERNAME=postmaster@mg.ihredomain.de
|
|
# SMTP_PASSWORD=ihr-mailgun-passwort
|
|
# SMTP_FROM_NAME=BreakPilot
|
|
# SMTP_FROM_ADDR=noreply@mg.ihredomain.de
|
|
|
|
# --- Option 4: Amazon SES ---
|
|
# SMTP_HOST=email-smtp.eu-central-1.amazonaws.com
|
|
# SMTP_PORT=587
|
|
# SMTP_USERNAME=AKIAXXXXXXXXXXXXXXXX
|
|
# SMTP_PASSWORD=ihr-ses-secret
|
|
# SMTP_FROM_NAME=BreakPilot
|
|
# SMTP_FROM_ADDR=noreply@ihredomain.de
|
|
|
|
# ================================================
|
|
# Datenbank
|
|
# ================================================
|
|
POSTGRES_USER=breakpilot
|
|
POSTGRES_PASSWORD=breakpilot123
|
|
POSTGRES_DB=breakpilot_db
|
|
DATABASE_URL=postgres://breakpilot:breakpilot123@localhost:5432/breakpilot_db?sslmode=disable
|
|
|
|
# ================================================
|
|
# Optional: AI Integration
|
|
# ================================================
|
|
# ANTHROPIC_API_KEY=your-anthropic-api-key-here
|
|
|
|
# ================================================
|
|
# Breakpilot Drive - Lernspiel
|
|
# ================================================
|
|
# Aktiviert Datenbank-Speicherung fuer Spielsessions
|
|
GAME_USE_DATABASE=true
|
|
|
|
# LLM fuer Quiz-Fragen-Generierung (optional)
|
|
# Wenn nicht gesetzt, werden statische Fragen verwendet
|
|
GAME_LLM_MODEL=llama-3.1-8b
|
|
GAME_LLM_FALLBACK_MODEL=claude-3-haiku
|
|
|
|
# Feature Flags
|
|
GAME_REQUIRE_AUTH=false
|
|
GAME_REQUIRE_BILLING=false
|
|
GAME_ENABLE_LEADERBOARDS=true
|
|
|
|
# Task-Kosten fuer Billing (wenn aktiviert)
|
|
GAME_SESSION_TASK_COST=1.0
|
|
GAME_QUICK_SESSION_TASK_COST=0.5
|
|
|
|
# ================================================
|
|
# Woodpecker CI/CD
|
|
# ================================================
|
|
# URL zum Woodpecker Server
|
|
WOODPECKER_URL=http://woodpecker-server:8000
|
|
# API Token für Dashboard-Integration (Pipeline-Start)
|
|
# Erstellen unter: http://macmini:8090 → User Settings → Personal Access Tokens
|
|
WOODPECKER_TOKEN=
|
|
|
|
# ================================================
|
|
# Debug
|
|
# ================================================
|
|
DEBUG=false
|