2026-04-29 11:37:54 +02:00
|
|
|
# === Deploy (.env auf dem Host) ============================================
|
|
|
|
|
# Kopiere diese Datei nach `.env` im SELBEN Verzeichnis wie `docker-compose.yml` (Pi: ~/docker/shinkan).
|
|
|
|
|
# Docker Compose liest `.env` beim Start — dadurch wird z. B. SMTP_HOST=${SMTP_HOST} gefüllt.
|
|
|
|
|
# Ist die Datei weg/leer oder steht SMTP_PASS nicht darin → im Container keine SMTP-Daten ([SMTP] nicht konfiguriert).
|
|
|
|
|
|
2026-04-21 14:26:12 +02:00
|
|
|
# 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
|
2026-04-29 11:28:07 +02:00
|
|
|
# Port 465 oft SSL; dann z. B. SMTP_SSL=true und SMTP_STARTTLS=false
|
|
|
|
|
SMTP_SSL=
|
|
|
|
|
SMTP_STARTTLS=
|
|
|
|
|
|
|
|
|
|
# Bootstrap: erste Registrierung (leere Nutzerliste) erhält Rolle admin; oder feste Admin-Mails:
|
|
|
|
|
AUTO_ADMIN_FIRST_USER=true
|
|
|
|
|
ADMIN_BOOTSTRAP_EMAILS=
|
2026-04-21 14:26:12 +02:00
|
|
|
|
|
|
|
|
# App
|
|
|
|
|
APP_URL=https://shinkan.jinkendo.de
|
2026-04-29 09:57:36 +02:00
|
|
|
# Kommasepariert (ohne Leerzeichen um die Kommas ist am sichersten). Für Dev mehrere Origins nötig (HTTPS + LAN).
|
2026-04-21 14:26:12 +02:00
|
|
|
ALLOWED_ORIGINS=https://shinkan.jinkendo.de
|
|
|
|
|
ENVIRONMENT=production
|
|
|
|
|
|
2026-04-29 09:57:36 +02:00
|
|
|
# Nur docker-compose.dev-env.yml (optional): DEV_APP_URL, DEV_ALLOWED_ORIGINS
|
|
|
|
|
|
2026-04-21 14:26:12 +02:00
|
|
|
# Media Storage
|
|
|
|
|
MEDIA_DIR=/app/media
|
2026-04-24 14:41:52 +02:00
|
|
|
|
|
|
|
|
# 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
|