[server] host = "0.0.0.0" port = 8080 # 生产环境必须配置 cors_origins 白名单,开发环境可设置 ZCLAW_SAAS_DEV=true 绕过 # cors_origins = ["https://your-admin-domain.com"] [database] # 使用 DATABASE_URL 环境变量覆盖此配置(推荐) # 格式: postgres://user:password@localhost:5432/zclaw url = "postgres://localhost:5432/zclaw" [auth] jwt_expiration_hours = 24 totp_issuer = "ZCLAW SaaS" [relay] max_queue_size = 1000 max_concurrent_per_provider = 5 batch_window_ms = 50 retry_delay_ms = 1000 max_attempts = 3 [rate_limit] requests_per_minute = 60 burst = 10