"feat: Added debug server and related components for improved development experience"
This commit is contained in:
63
infrastructure/environments/development.env
Normal file
63
infrastructure/environments/development.env
Normal file
@@ -0,0 +1,63 @@
|
||||
# 🔧 MYP Entwicklungsumgebung
|
||||
# Konfigurationsdatei für lokale Entwicklung
|
||||
|
||||
# === Anwendungseinstellungen ===
|
||||
NODE_ENV=development
|
||||
FLASK_ENV=development
|
||||
FLASK_DEBUG=true
|
||||
NEXT_TELEMETRY_DISABLED=1
|
||||
|
||||
# === Datenbankeinstellungen ===
|
||||
DATABASE_PATH=instance/myp_dev.db
|
||||
DATABASE_URL=sqlite:///instance/myp_dev.db
|
||||
|
||||
# === Sicherheitseinstellungen ===
|
||||
SECRET_KEY=development-key-DO-NOT-USE-IN-PRODUCTION-7445630171969
|
||||
JWT_SECRET=dev-jwt-secret-change-in-production
|
||||
SESSION_SECRET=dev-session-secret-change-in-production
|
||||
|
||||
# === API-Konfiguration ===
|
||||
BACKEND_URL=http://backend:5000
|
||||
FRONTEND_URL=http://frontend:3000
|
||||
API_BASE_URL=http://localhost:5000/api
|
||||
NEXT_PUBLIC_API_URL=http://localhost:5000/api
|
||||
|
||||
# === Drucker-Konfiguration ===
|
||||
# Testdrucker für Entwicklungsumgebung
|
||||
PRINTERS={"Drucker Test 1": {"ip": "192.168.0.100", "model": "UltiMaker S3"}, "Drucker Test 2": {"ip": "192.168.0.101", "model": "UltiMaker S5"}, "Drucker Test 3": {"ip": "192.168.0.102", "model": "UltiMaker S7"}}
|
||||
|
||||
# === TAPO Smart Plug Einstellungen ===
|
||||
TAPO_USERNAME=till.tomczak@mercedes-benz.com
|
||||
TAPO_PASSWORD=744563017196A
|
||||
|
||||
# === Logging-Konfiguration ===
|
||||
LOG_LEVEL=DEBUG
|
||||
LOG_FILE=logs/myp_dev.log
|
||||
ENABLE_SQL_LOGGING=true
|
||||
|
||||
# === Entwicklungs-Features ===
|
||||
ENABLE_DEBUG_TOOLBAR=true
|
||||
ENABLE_HOT_RELOAD=true
|
||||
MOCK_EXTERNAL_SERVICES=true
|
||||
ENABLE_CORS=true
|
||||
|
||||
# === Monitoring ===
|
||||
ENABLE_PROMETHEUS=true
|
||||
PROMETHEUS_PORT=9090
|
||||
GRAFANA_PORT=3001
|
||||
|
||||
# === Docker-Konfiguration ===
|
||||
COMPOSE_PROJECT_NAME=myp-dev
|
||||
DOCKER_BUILDKIT=1
|
||||
COMPOSE_DOCKER_CLI_BUILD=1
|
||||
|
||||
# === Netzwerk-Einstellungen ===
|
||||
BACKEND_PORT=5000
|
||||
FRONTEND_PORT=3000
|
||||
PROXY_HTTP_PORT=80
|
||||
PROXY_HTTPS_PORT=443
|
||||
|
||||
# === Entwicklungstools ===
|
||||
ENABLE_LIVE_RELOAD=true
|
||||
WATCH_FILES=true
|
||||
AUTO_RESTART=true
|
Reference in New Issue
Block a user