CalejoControl/.env.production

38 lines
789 B
Plaintext

# Production Environment Configuration
# Disable internal protocol servers - use external SCADA servers instead
# Database configuration
DB_HOST=calejo-postgres
DB_PORT=5432
DB_NAME=calejo_production
DB_USER=calejo_user
DB_PASSWORD=production_password
# Disable internal protocol servers
OPCUA_ENABLED=false
MODBUS_ENABLED=false
# REST API configuration
REST_API_ENABLED=true
REST_API_HOST=0.0.0.0
REST_API_PORT=8080
# Health monitoring
HEALTH_MONITOR_PORT=9090
# Logging
LOG_LEVEL=INFO
LOG_FORMAT=json
ENVIRONMENT=production
# Security
API_KEY=production_api_key_secure
JWT_SECRET_KEY=production_jwt_secret_key_secure
# Auto-discovery
AUTO_DISCOVERY_ENABLED=true
AUTO_DISCOVERY_REFRESH_MINUTES=60
# Optimization
OPTIMIZATION_MONITORING_ENABLED=true
OPTIMIZATION_REFRESH_SECONDS=30