# Fetch ML Configuration Example
# Copy this file to config.yaml and customize for your environment

base_path: "./data/experiments"

auth:
  enabled: true
  api_keys:
    # Example API key (replace with real hashed keys)
    admin:
      hash: "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8"  # "password"
      admin: true
      roles: ["admin"]
      permissions:
        "*": true

server:
  address: ":9101"
  tls:
    enabled: false

database:
  type: "sqlite"
  connection: "data/fetch_ml.db"

redis:
  addr: "localhost:6379"
  password: ""
  db: 0

logging:
  level: "info"
  file: "logs/fetch_ml.log"
  audit_log: "logs/audit.log"

security:
  rate_limit:
    enabled: false
    requests_per_minute: 60
    burst_size: 10
  ip_whitelist: []
  production_mode: false

monitoring:
  prometheus:
    enabled: true
    port: 9101
    path: "/metrics"
  health_checks:
    enabled: true
    interval: "30s"

resources:
  max_workers: 1
  desired_rps_per_worker: 2
  podman_cpus: "2"
  podman_memory: "4Gi"
