-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
53 lines (43 loc) · 1.3 KB
/
Copy pathenv.example
File metadata and controls
53 lines (43 loc) · 1.3 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
50
51
52
53
# Railway Traffic Decision-Support System Environment Configuration
# Database Configuration
DATABASE_URL=postgresql://railway_user:railway_password@localhost:5432/railway_db
DATABASE_POOL_SIZE=10
DATABASE_MAX_OVERFLOW=20
# Redis Configuration
REDIS_URL=redis://localhost:6379
REDIS_PASSWORD=
# Kafka Configuration (for real-time messaging)
KAFKA_BOOTSTRAP_SERVERS=localhost:9092
KAFKA_TOPIC_TRAIN_UPDATES=train_updates
KAFKA_TOPIC_DECISIONS=decisions
# API Configuration
API_HOST=0.0.0.0
API_PORT=8000
API_WORKERS=4
API_RELOAD=true
# Security Configuration
SECRET_KEY=your-secret-key-here
JWT_SECRET_KEY=your-jwt-secret-key-here
JWT_ALGORITHM=HS256
JWT_ACCESS_TOKEN_EXPIRE_MINUTES=30
# Optimization Configuration
OPTIMIZATION_TIME_LIMIT_SECONDS=30
OPTIMIZATION_MAX_ITERATIONS=1000
OPTIMIZATION_CONFIDENCE_THRESHOLD=0.7
# Monitoring Configuration
PROMETHEUS_ENABLED=true
PROMETHEUS_PORT=9090
LOG_LEVEL=INFO
LOG_FORMAT=json
# Indian Railways MCP API Configuration
MCP_API_BASE_URL=https://api.railway.gov.in
MCP_API_KEY=your-mcp-api-key-here
MCP_API_TIMEOUT=30
# Development Configuration
DEBUG=true
ENVIRONMENT=development
CORS_ORIGINS=["http://localhost:3000", "http://localhost:8000"]
# Production Configuration (override in production)
# DEBUG=false
# ENVIRONMENT=production
# CORS_ORIGINS=["https://your-domain.com"]