-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.production
More file actions
37 lines (28 loc) · 802 Bytes
/
Copy path.env.production
File metadata and controls
37 lines (28 loc) · 802 Bytes
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
# RockShield AI Production Environment Configuration
# Copy this to .env and configure for your deployment
# Flask Configuration
FLASK_ENV=production
FLASK_DEBUG=false
# Service Configuration
HOST=0.0.0.0
PORT=5001
# Model Configuration
MODEL_PATH=/app/models
FALLBACK_TO_HEURISTICS=true
# Logging Configuration
LOG_LEVEL=INFO
LOG_TO_FILE=false
# CORS Configuration (adjust for your frontend domains)
CORS_ORIGINS=http://localhost:5173,http://localhost:5174,https://your-production-domain.com
# Performance Configuration
WORKERS=2
TIMEOUT=60
MAX_REQUESTS=1000
# Security Configuration (set these in production)
SECRET_KEY=your-secret-key-here
API_KEY=your-api-key-here
# Monitoring Configuration
HEALTH_CHECK_INTERVAL=30
ENABLE_METRICS=true
# Deployment Configuration
ENVIRONMENT=production