CalejoControl/config/.env.example

26 lines
624 B
Plaintext

# 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)
SMTP_SERVER=smtp.example.com
SMTP_PORT=587
SMTP_USERNAME=your-email@example.com
SMTP_PASSWORD=your-email-password
TWILIO_ACCOUNT_SID=your-twilio-account-sid
TWILIO_AUTH_TOKEN=your-twilio-auth-token
TWILIO_PHONE_NUMBER=+1234567890
# Logging
LOG_LEVEL=INFO