CalejoControl/deploy/config/example-staging.yml

61 lines
1.2 KiB
YAML
Raw Normal View History

# Staging Environment Configuration
# Copy this file to staging.yml and update with actual values
# SSH Connection Details
ssh:
host: "staging-server.company.com"
port: 22
username: "calejo"
key_file: "deploy/keys/staging_key"
# Deployment Settings
deployment:
target_dir: "/opt/calejo-control-adapter"
backup_dir: "/var/backup/calejo"
log_dir: "/var/log/calejo"
config_dir: "/etc/calejo"
# Application Configuration
app:
port: 8080
host: "0.0.0.0"
debug: true
# Database Configuration
database:
host: "localhost"
port: 5432
name: "calejo_staging"
username: "calejo_user"
password: "${DB_PASSWORD}" # Will be replaced from environment
# SCADA Integration
scada:
opcua_enabled: false
opcua_endpoint: "opc.tcp://localhost:4840"
modbus_enabled: false
modbus_host: "localhost"
modbus_port: 502
# Optimization Integration
optimization:
enabled: false
endpoint: "http://localhost:8081"
# Security Settings
security:
enable_auth: false
enable_ssl: false
# Monitoring
monitoring:
prometheus_enabled: true
prometheus_port: 9090
grafana_enabled: true
grafana_port: 3000
# Backup Settings
backup:
enabled: true
schedule: "0 2 * * *" # Daily at 2 AM
retention_days: 7