-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
49 lines (39 loc) · 1.01 KB
/
.env.example
File metadata and controls
49 lines (39 loc) · 1.01 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
# API Keys
GEMINI_API_KEY=your_gemini_api_key_here
# Database
POSTGRES_USER=newsadmin
POSTGRES_PASSWORD=change_this_secure_password
POSTGRES_DB=news_intelligence
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
DATABASE_URL=postgresql://newsadmin:change_this_secure_password@postgres:5432/news_intelligence
# Redis
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_URL=redis://redis:6379/0
# Admin Credentials
ADMIN_USERNAME=admin
ADMIN_PASSWORD=change_this_admin_password
# Application
SECRET_KEY=change_this_to_a_random_secret_key_min_32_chars
ENVIRONMENT=development
DEBUG=true
# Backend API
BACKEND_HOST=0.0.0.0
BACKEND_PORT=8000
# Frontend
FRONTEND_PORT=3000
REACT_APP_API_URL=http://localhost:8000
# Celery
CELERY_BROKER_URL=redis://redis:6379/0
CELERY_RESULT_BACKEND=redis://redis:6379/0
# Scraping
SCRAPING_INTERVAL_HOURS=1
MAX_ARTICLES_PER_SOURCE=50
# Sentiment Analysis
SENTIMENT_CONFIDENCE_THRESHOLD=0.5
ENABLE_VADER_BASELINE=true
ENABLE_GEMINI_SENTIMENT=true
# Rate Limiting
RATE_LIMIT_PER_MINUTE=60
GEMINI_RATE_LIMIT_PER_MINUTE=30