server:
  port: 8000
  webhookPath: "/webhook"
  secretHeader: "X-Gitea-Signature"
  secretKey: "admin-secret-key-change-in-production"

jenkins:
  url: "http://jenkins.example.com"
  username: "jenkins-user"
  token: "jenkins-api-token"
  timeout: 30

admin:
  token: "admin-api-token"  # Token for admin API access

database:
  path: "data/gitea-webhook-ambassador.db"  # Path to SQLite database file

logging:
  level: "info"  # debug, info, warn, error
  format: "text" # text, json
  file: "logs/service.log"  # stdout if empty, or path to log file

worker:
  poolSize: 10     # Number of concurrent workers
  queueSize: 100   # Size of job queue
  maxRetries: 3    # Maximum number of retry attempts
  retryBackoff: 1  # Initial retry backoff in seconds (exponential)

eventCleanup:
  interval: 3600    # Cleanup interval in seconds
  expireAfter: 7200 # Event expiration time in seconds 