Name: haixun-backend
Host: 0.0.0.0
Port: 8890
Timeout: 120000

Mongo:
  URI: ${HAIXUN_MONGO_URI}
  Database: ${HAIXUN_MONGO_DATABASE}
  TimeoutSeconds: 10

Redis:
  Addr: ${HAIXUN_REDIS_ADDR}
  DB: 0

Auth:
  AccessSecret: ${HAIXUN_AUTH_ACCESS_SECRET}
  RefreshSecret: ${HAIXUN_AUTH_REFRESH_SECRET}
  AccessExpireSeconds: 900
  RefreshExpireSeconds: 2592000
  DevHeaderFallback: false

InternalWorker:
  Secret: ${HAIXUN_WORKER_SECRET}

JobWorker:
  Enabled: false
  WorkerType: go

JobScheduler:
  Enabled: true
  IntervalSeconds: 60

JobReaper:
  Enabled: true
  IntervalSeconds: 30