This commit is contained in:
2025-11-18 14:45:41 +01:00
parent 2e80d64ff6
commit 84fce9a82c
19 changed files with 2437 additions and 3 deletions

30
backend/.env.local Normal file
View File

@@ -0,0 +1,30 @@
# Munich News Daily - Local Development Backend Configuration
# MongoDB Configuration
MONGODB_URI=mongodb://admin:changeme@mongodb:27017/
# Email Configuration (use test credentials or disable)
SMTP_SERVER=localhost
SMTP_PORT=587
EMAIL_USER=test@localhost
EMAIL_PASSWORD=test123
# Newsletter Settings
NEWSLETTER_MAX_ARTICLES=5
NEWSLETTER_HOURS_LOOKBACK=24
WEBSITE_URL=http://localhost:3000
# Tracking Configuration
TRACKING_ENABLED=true
TRACKING_API_URL=http://localhost:5001
TRACKING_DATA_RETENTION_DAYS=90
# Ollama Configuration (AI Summarization)
OLLAMA_ENABLED=true
OLLAMA_BASE_URL=http://ollama:11434
OLLAMA_MODEL=phi3:latest
OLLAMA_TIMEOUT=120
SUMMARY_MAX_WORDS=150
# Flask Server Configuration
FLASK_PORT=5001