CalejoControl/config/.env.example

34 lines
818 B
Plaintext
Raw Normal View History

# Database Configuration
DATABASE_URL=postgresql://control_reader:secure_password@localhost:5432/calejo
# Protocol Endpoints
OPC_UA_ENDPOINT=opc.tcp://0.0.0.0:4840
MODBUS_PORT=502
REST_API_PORT=8080
# Safety Settings
SAFETY_TIMEOUT_SECONDS=1200
# Security Settings
JWT_SECRET_KEY=your-secret-key-change-in-production
JWT_ALGORITHM=HS256
# Alert Settings (Optional)
# Email Configuration
SMTP_SERVER=smtp.example.com
SMTP_PORT=587
SMTP_USERNAME=your-email@example.com
SMTP_PASSWORD=your-email-password
SMTP_USE_TLS=true
# SMS Configuration (Twilio)
TWILIO_ACCOUNT_SID=your-twilio-account-sid
TWILIO_AUTH_TOKEN=your-twilio-auth-token
TWILIO_PHONE_NUMBER=+1234567890
# Webhook Configuration
ALERT_WEBHOOK_URL=https://your-monitoring-system.com/webhook
ALERT_WEBHOOK_TOKEN=your_bearer_token
# Logging
LOG_LEVEL=INFO