Name: haixun-worker
Host: 0.0.0.0
Port: 8891
Timeout: 120000

# 本機開發 worker 設定（go worker）。搭配 `make dev-infra` 的 Mongo/Redis。
Mongo:
  URI: mongodb://haixun:change-me-mongo-pass@127.0.0.1:27017/?authSource=admin
  Database: haixun
  TimeoutSeconds: 10

Redis:
  Addr: 127.0.0.1:6379
  Password: change-me-redis-pass
  DB: 0

Auth:
  AccessSecret: haixun-dev-access-secret-change-me
  RefreshSecret: haixun-dev-refresh-secret-change-me
  AccessExpireSeconds: 900
  RefreshExpireSeconds: 2592000
  DevHeaderFallback: false

Secrets:
  EncryptionKey: ""

InternalWorker:
  Secret: haixun-dev-worker-secret

JobWorker:
  Enabled: true
  WorkerType: go

JobScheduler:
  Enabled: false
  IntervalSeconds: 60

JobReaper:
  Enabled: false
  IntervalSeconds: 30
