2025-11-01 16:02:26 +00:00
|
|
|
# Production Environment Configuration
|
|
|
|
|
# Disable internal protocol servers - use external SCADA servers instead
|
|
|
|
|
|
|
|
|
|
# Database configuration
|
|
|
|
|
DB_HOST=calejo-postgres
|
|
|
|
|
DB_PORT=5432
|
2025-11-01 16:06:01 +00:00
|
|
|
DB_NAME=calejo
|
|
|
|
|
DB_USER=calejo
|
|
|
|
|
DB_PASSWORD=password
|
2025-11-01 16:02:26 +00:00
|
|
|
|
|
|
|
|
# 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
|