-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
59 lines (46 loc) · 2.27 KB
/
Copy path.env.example
File metadata and controls
59 lines (46 loc) · 2.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# =============================================================================
# KAiTix — Umgebungsvariablen
# =============================================================================
# Kopiere diese Datei zu .env und fülle alle Werte mit echten Daten aus:
# cp .env.example .env
# ACHTUNG: .env niemals in Git committen!
# =============================================================================
# === DATABASE =================================================================
# MySQL-Verbindung (async SQLAlchemy 2.x) — gilt für die LOKALE Entwicklung
# (Variante B). Format: mysql+aiomysql://user:password@host:port/database
#
# HINWEIS: Die compose-/Container-Variante (Variante A) IGNORIERT diesen Wert.
# Dort wird der DB-Host immer auf den Service 'db' gesetzt (siehe compose.yml).
DATABASE_URL=mysql+aiomysql://kaitix:kaitix@127.0.0.1:3306/kaitix
# MySQL Docker-Datenbank (nur für docker/podman compose relevant)
MYSQL_ROOT_PASSWORD=kaitix
MYSQL_DATABASE=kaitix
MYSQL_USER=kaitix
MYSQL_PASSWORD=kaitix
# Demo-Daten beim ersten Start automatisch laden (nur wenn DB leer).
# Auf false setzen, um mit leerer Datenbank zu starten.
SEED_DEMO_DATA=true
# === APP_CONFIG ===============================================================
APP_PORT=8003
APP_WORKERS=1 # Für dev: 1, prod: nach CPU-Kernen skalieren
# CORS — kommagetrennte Liste erlaubter Origins
# Für compose (Single-Image): nginx läuft auf Port 8080 -> http://localhost:8080
# Für LAN-Zugriff z.B.: http://192.168.1.100:8080,http://meinserver.local:8080
ALLOWED_ORIGINS=http://localhost:8080
# === API_KEYS =================================================================
# Externe API-Integrationen (nur wenn benötigt)
# Beispiel: Drittanbieter-API
# THIRD_PARTY_API_KEY=your-api-key-here
# THIRD_PARTY_API_URL=https://api.example.com/v1
# === EXTERNAL_SERVICES ========================================================
# Redis, Message Queue, Monitoring, etc.
# Redis (optional, für Caching / Sessions)
# REDIS_URL=redis://localhost:6379/0
# Sentry (optional, für Error Tracking)
# SENTRY_DSN=https://public@sentry.example.com/1
# SMTP / E-Mail (optional, für Notifications)
# SMTP_HOST=smtp.example.com
# SMTP_PORT=587
# SMTP_USER=noreply@example.com
# SMTP_PASSWORD=your-smtp-password
# SMTP_TLS=true