server:
  host: "0.0.0.0"
  port: 8080
  log_level: "INFO"
  cors_origins:
    - "*"

auth:
  # API keys are REQUIRED - authentication is always enforced
  # Format: label: "api-key"
  api_keys:
    # Generate secure keys: openssl rand -hex 32
    dev: "development-key-change-in-production"  # Development key - CHANGE THIS!

storage:
  devices_file: "data/devices.json"
  templates_file: "data/capture_templates.json"
  postprocessing_templates_file: "data/postprocessing_templates.json"
  picture_sources_file: "data/picture_sources.json"
  output_targets_file: "data/output_targets.json"
  pattern_templates_file: "data/pattern_templates.json"

mqtt:
  enabled: false
  broker_host: "localhost"
  broker_port: 1883
  username: ""
  password: ""
  client_id: "ledgrab"
  base_topic: "ledgrab"

logging:
  format: "json"  # json or text
  file: "logs/wled_controller.log"
  max_size_mb: 100
  backup_count: 5
