Some checks failed
Tests / Go Tests (push) Has been cancelled
Tests / Python Tests (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / Go Lint (push) Has been cancelled
Tests / Python Lint (push) Has been cancelled
Tests / Security Scan (push) Has been cancelled
Tests / All Checks Passed (push) Has been cancelled
Security Scanning / Secret Scanning (push) Has been cancelled
Security Scanning / Dependency Vulnerability Scan (push) Has been cancelled
Security Scanning / Go Security Scan (push) Has been cancelled
Security Scanning / Python Security Scan (push) Has been cancelled
Security Scanning / Node.js Security Scan (push) Has been cancelled
Security Scanning / Docker Image Security (push) Has been cancelled
Security Scanning / Security Summary (push) Has been cancelled
CI/CD Pipeline / Go Tests (push) Has been cancelled
CI/CD Pipeline / Python Tests (push) Has been cancelled
CI/CD Pipeline / Website Tests (push) Has been cancelled
CI/CD Pipeline / Linting (push) Has been cancelled
CI/CD Pipeline / Security Scan (push) Has been cancelled
CI/CD Pipeline / Docker Build & Push (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / CI Summary (push) Has been cancelled
ci/woodpecker/manual/build-ci-image Pipeline was successful
ci/woodpecker/manual/main Pipeline failed
All services: admin-v2, studio-v2, website, ai-compliance-sdk, consent-service, klausur-service, voice-service, and infrastructure. Large PDFs and compiled binaries excluded via .gitignore.
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
|