# Infrastructure configuration for local development
# Auto-generated by `mecha10 init`
#
# This config assumes services running on localhost

# Local Redis (on-robot message bus)
redis:
  url: redis://localhost:6379
  max_connections: 10
  connection_timeout_ms: 5000

# Control plane Redis (robot-to-cloud communication)
# Optional - only used when connecting to Mecha10 cloud services
# For local dev, this is typically not used
# control_plane_redis:
#   url: redis://localhost:6380
#   max_connections: 5
#   connection_timeout_ms: 10000

# Redis bridge (message forwarding between local and control plane)
# Only active when control_plane_redis is configured
# bridge:
#   enabled: true
#   robot_id: my-robot  # Optional: prefix topics with robot ID
#   local_topics:
#     - "/sensor/camera/*"   # Keep high-frequency sensor data local
#     - "/sensor/lidar/*"
#     - "/sensor/imu/*"
#   bridged_topics:
#     - "/system/*"          # Forward system topics to control plane
#     - "/telemetry/*"       # Forward telemetry
#     - "/logs/*"            # Forward logs
#     - "/fleet/*"           # Forward fleet management

# PostgreSQL (API/platform database - optional for local dev)
postgres:
  host: localhost
  port: 5432
  database: mecha10
  username: mecha10
  password: mecha10_dev
  max_connections: 5

# MLflow (experiment tracking - optional for local dev)
mlflow:
  tracking_uri: http://localhost:5000
  artifact_location: ./mlruns

# MinIO (object storage - optional for local dev)
minio:
  endpoint: http://localhost:9000
  access_key: minioadmin
  secret_key: minioadmin
  secure: false

# Logging
logging:
  level: debug
  format: pretty
