# SafeSpace FastAPI Production Environment Configuration # Copy this file to .env and modify as needed # Application Settings ENV=production APP_NAME="SafeSpace AI API" APP_VERSION="2.0.0" DEBUG=false # Server Configuration HOST=0.0.0.0 PORT=8000 WORKERS=4 # ML Models Configuration MODEL_PATH=/app/models ENABLE_ML_CACHE=true # Security Settings (generate strong secrets in production) SECRET_KEY=your-super-secret-key-here-change-in-production API_KEY_HEADER=X-API-Key # Logging LOG_LEVEL=INFO LOG_FORMAT=json # CORS Settings ALLOWED_ORIGINS=http://localhost:3000,http://localhost:3001,https://your-domain.com # Rate Limiting RATE_LIMIT_REQUESTS=100 RATE_LIMIT_PERIOD=3600 # Health Check HEALTH_CHECK_INTERVAL=30 # Database (if needed in future) # DATABASE_URL=postgresql://user:password@localhost/safespace # External APIs (if any) # EXTERNAL_API_KEY=your-api-key-here # EXTERNAL_API_URL=https://api.example.com # Monitoring (optional) # SENTRY_DSN=https://your-sentry-dsn-here # DATADOG_API_KEY=your-datadog-key