- Added optional DEV_APP_URL and DEV_ALLOWED_ORIGINS to docker-compose.dev-env.yml for improved local development flexibility. - Updated .env.example to reflect new environment variables for development. - Modified backend main.py to support rate limiting on authentication routes and improved CORS handling. - Enhanced deploy-dev.yml to include health checks for the frontend service, ensuring better monitoring during development.
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
# Database
|
|
DB_HOST=postgres
|
|
DB_PORT=5432
|
|
DB_NAME=shinkan
|
|
DB_USER=shinkan_user
|
|
DB_PASSWORD=CHANGE_ME_SECURE_PASSWORD
|
|
|
|
# OpenRouter (KI - optional)
|
|
OPENROUTER_API_KEY=your_api_key_here
|
|
OPENROUTER_MODEL=anthropic/claude-sonnet-4
|
|
|
|
# SMTP (E-Mail)
|
|
SMTP_HOST=smtp.example.com
|
|
SMTP_PORT=587
|
|
SMTP_USER=noreply@jinkendo.de
|
|
SMTP_PASS=your_smtp_password
|
|
SMTP_FROM=noreply@jinkendo.de
|
|
|
|
# App
|
|
APP_URL=https://shinkan.jinkendo.de
|
|
# Kommasepariert (ohne Leerzeichen um die Kommas ist am sichersten). Für Dev mehrere Origins nötig (HTTPS + LAN).
|
|
ALLOWED_ORIGINS=https://shinkan.jinkendo.de
|
|
ENVIRONMENT=production
|
|
|
|
# Nur docker-compose.dev-env.yml (optional): DEV_APP_URL, DEV_ALLOWED_ORIGINS
|
|
|
|
# Media Storage
|
|
MEDIA_DIR=/app/media
|
|
|
|
# MediaWiki Import (Semantic MediaWiki)
|
|
MEDIAWIKI_API_URL=https://karatetrainer.net/api.php
|
|
MEDIAWIKI_USER=Jinkendo
|
|
MEDIAWIKI_PASSWORD=CHANGE_ME
|
|
# Kategorienamen im Wiki (echte Namen von karatetrainer.net)
|
|
MEDIAWIKI_CATEGORY_EXERCISES=Übungen
|
|
MEDIAWIKI_CATEGORY_SKILLS=Fähigkeitsbeschreibung
|
|
MEDIAWIKI_CATEGORY_METHODS=Methodenbeschreibung
|
|
MEDIAWIKI_CATEGORY_MODELS=Reifegradmodelle
|