37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
# Umgebungsvariablen für die MYP Backend-Anwendung
|
|
# Kopiere diese Datei zu .env und passe die Werte an
|
|
|
|
# Sicherheit
|
|
SECRET_KEY=change_me_in_production
|
|
|
|
# Datenbank
|
|
# SQLite (Standard für Entwicklung)
|
|
DATABASE_URL=sqlite:///myp.db
|
|
|
|
# Für PostgreSQL (empfohlen für Produktion)
|
|
# DATABASE_URL=postgresql://username:password@localhost/myp
|
|
|
|
# Server-Konfiguration
|
|
# Debug-Modus (True für Entwicklung, False für Produktion)
|
|
FLASK_DEBUG=True
|
|
|
|
# Port (Standard: 5000)
|
|
PORT=5000
|
|
|
|
# Host (0.0.0.0 um von außen erreichbar zu sein)
|
|
HOST=0.0.0.0
|
|
|
|
# GitHub OAuth Konfiguration
|
|
OAUTH_CLIENT_ID=your_github_client_id
|
|
OAUTH_CLIENT_SECRET=your_github_client_secret
|
|
# Wenn du GitHub Enterprise verwendest, passe folgende URLs an:
|
|
GITHUB_API_BASE_URL=https://api.github.com/
|
|
GITHUB_AUTHORIZE_URL=https://github.com/login/oauth/authorize
|
|
GITHUB_TOKEN_URL=https://github.com/login/oauth/access_token
|
|
|
|
# Tapo P115 Steckdosen-Konfiguration
|
|
TAPO_USERNAME=your_tapo_username
|
|
TAPO_PASSWORD=your_tapo_password
|
|
# JSON-Objekt mit der Zuordnung von Drucker-IDs zu IP-Adressen der Steckdosen
|
|
# Beispiel: {"printer1_id": "192.168.1.100", "printer2_id": "192.168.1.101"}
|
|
TAPO_DEVICES={} |