server: address : ":3001" name: "cid" workerId: 1 logPath: "resource/log/server" logStdout: true errorStack: true rate: limit: 200 burst: 300 # Database. database: default: - type: "pgsql" host: "localhost" port: "5432" user: "postgres" pass: "123456" name: "cid" role: "master" maxIdle: "5" maxOpen: "20" maxLifetime: "60s" charset: "utf8mb4" debug: true dryRun: false createdAt: "created_at" updatedAt: "updated_at" deletedAt: "deleted_at" timeMaintainDisabled: false redis: # 集群模式配置方法 default: address: 116.204.74.41:6379 db: 0 idleTimeout: "60s" #连接最大空闲时间,使用时间字符串例如30s/1m/1d maxConnLifetime: "90s" #连接最长存活时间,使用时间字符串例如30s/1m/1d waitTimeout: "60s" #等待连接池连接的超时时间,使用时间字符串例如30s/1m/1d dialTimeout: "30s" #TCP连接的超时时间,使用时间字符串例如30s/1m/1d readTimeout: "30s" #TCP的Read操作超时时间,使用时间字符串例如30s/1m/1d writeTimeout: "30s" #TCP的Write操作超时时间,使用时间字符串例如30s/1m/1d maxActive: 100 consul: address: 116.204.74.41:8500 # pass: jiahui8888 jaeger: #链路追踪 addr: 116.204.74.41:4318 yidun: # 音视频检测配置 video: secret_id: "f58a38341ca6227014df7c3bf0e6f16f" secret_key: "526aa631ba5d518aedeb70b5a3b67371" region: "cn-hangzhou" protocol: "https" max_retry_count: 3 # 图片检测配置 image: business_id: "20acccc525cbc5cb6bed3d8f6f6b2f77" secret_id: "9a82f90bfec61eb40d1c95605b894817" secret_key: "f73a78954417a3713c36ec2d14eb2b5f" region: "cn-hangzhou" protocol: "https" max_retry_count: 3 # 文本检测配置(如需要请补充) text: business_id: "YOUR_TEXT_BUSINESS_ID" secret_id: "YOUR_TEXT_SECRET_ID" secret_key: "YOUR_TEXT_SECRET_KEY" region: "cn-hangzhou" protocol: "https" max_retry_count: 3