80ec5eca7b
- Move SECRET_KEY out of docker-compose into .env (env_file), add .env.example - Add flask-limiter with 10 req/min on login route; introduce util/limiter.py - Replace direct mysql.connector.connect() calls with MySQLConnectionPool via util/db_pool.py - Fix deprecated datetime.utcnow() -> datetime.now(timezone.utc) in auth/login.py - Remove dead /api/scripts 410 route from admin.py - Add MD5 security warning in Md5Tool.jsx - Add ErrorBoundary component and wrap App.jsx - Expand README with setup guide, screenshot and project structure Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
14 lines
572 B
Bash
14 lines
572 B
Bash
# ============================================================
|
|
# Umgebungsvariablen für docker-compose.dev.yml
|
|
# Kopiere diese Datei zu ".env" und passe die Werte an.
|
|
# ============================================================
|
|
|
|
# JWT Secret Key
|
|
# Ersetze diesen Wert in Produktion durch einen langen, zufälligen String,
|
|
# z.B. generiert mit: python -c "import secrets; print(secrets.token_hex(32))"
|
|
SECRET_KEY=dev-change-me
|
|
|
|
# Pfad zur Datenbankkonfigurationsdatei im Container
|
|
# Standardwert für Docker: /config/db_config.json
|
|
DB_CONFIG_PATH=/config/db_config.json
|