Initial commit: breakpilot-lehrer - Lehrer KI Platform

Services: Admin-Lehrer, Backend-Lehrer, Studio v2, Website,
Klausur-Service, School-Service, Voice-Service, Geo-Service,
BreakPilot Drive, Agent-Core

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Boenisch
2026-02-11 23:47:26 +01:00
commit 5a31f52310
1224 changed files with 425430 additions and 0 deletions

56
.env.example Normal file
View File

@@ -0,0 +1,56 @@
# =========================================================
# BreakPilot Lehrer — Environment Variables
# =========================================================
# Copy to .env and adjust values
# NOTE: Core must be running! These vars reference Core services.
# Database (same as Core)
POSTGRES_USER=breakpilot
POSTGRES_PASSWORD=breakpilot123
POSTGRES_DB=breakpilot_db
# Security
JWT_SECRET=your-super-secret-jwt-key-change-in-production
VAULT_TOKEN=breakpilot-dev-token
# MinIO (from Core)
MINIO_ROOT_USER=breakpilot
MINIO_ROOT_PASSWORD=breakpilot123
MINIO_BUCKET=breakpilot-rag
# Environment
ENVIRONMENT=development
TZ=Europe/Berlin
# LLM (Ollama on host)
OLLAMA_BASE_URL=http://host.docker.internal:11434
OLLAMA_ENABLED=true
OLLAMA_DEFAULT_MODEL=llama3.2
OLLAMA_VISION_MODEL=llama3.2-vision
OLLAMA_CORRECTION_MODEL=llama3.2
OLLAMA_TIMEOUT=120
# Anthropic (optional)
ANTHROPIC_API_KEY=
# vast.ai GPU (optional)
VAST_API_KEY=
VAST_INSTANCE_ID=
# Game
GAME_USE_DATABASE=true
GAME_REQUIRE_AUTH=false
GAME_REQUIRE_BILLING=false
GAME_LLM_MODEL=llama3.2
# Frontend URLs
NEXT_PUBLIC_API_URL=https://macmini:8001
NEXT_PUBLIC_KLAUSUR_SERVICE_URL=https://macmini:8086
NEXT_PUBLIC_VOICE_SERVICE_URL=wss://macmini:8091
# Session
SESSION_TTL_HOURS=24
# SMTP (uses Core Mailpit)
SMTP_HOST=bp-core-mailpit
SMTP_PORT=1025