-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
53 lines (43 loc) · 1.02 KB
/
.env.example
File metadata and controls
53 lines (43 loc) · 1.02 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
# Application Configuration
APP_NAME=iris-classifier
APP_VERSION=2.0.0
ENVIRONMENT=production
# API Configuration
API_HOST=0.0.0.0
API_PORT=8000
API_WORKERS=4
API_RELOAD=false
# Logging Configuration
LOG_LEVEL=INFO
LOG_FILE=logs/iris-classifier.log
LOG_MAX_BYTES=10485760
LOG_BACKUP_COUNT=5
# Model Configuration
DEFAULT_MODEL=random_forest
MODEL_CACHE_SIZE=5
MODEL_PATH=models/
# Security (Generate secure keys for production)
SECRET_KEY=your-secret-key-here-change-in-production
API_KEY_ENABLED=false
API_KEY=your-api-key-here
# Rate Limiting
RATE_LIMIT_ENABLED=true
RATE_LIMIT_CALLS=100
RATE_LIMIT_PERIOD=60
# CORS
CORS_ORIGINS=["http://localhost:3000", "http://localhost:8000"]
CORS_ALLOW_CREDENTIALS=true
# Monitoring
PROMETHEUS_ENABLED=true
METRICS_PORT=9090
# Database (optional - for logging predictions)
DATABASE_URL=sqlite:///./iris_predictions.db
DB_ENABLED=false
# Caching
CACHE_ENABLED=true
CACHE_TTL=3600
CACHE_TYPE=memory
# Feature Flags
BATCH_PREDICTION_ENABLED=true
MAX_BATCH_SIZE=1000
MODEL_EXPLAINABILITY_ENABLED=false