server: port: 8080 #端口 spring: cloud: # nacos nacos: discovery: register-enabled: true server-addr: nacos-server-hostname:8848 username: nacos-prod password: centralprod namespace: a894fba3-ee6e-4dc7-938b-ad11112ccfa9 circuitbreaker: sentinel: enabled: true sentinel: enabled: true transport: dashboard: sentinel-hostname:8858 port: 8719 datasource: ds-flow-rules: nacos: server-addr: nacos-server-hostname:8848 username: nacos-prod password: centralprod namespace: 81037616-96ae-412c-a060-a633ba9731b9 group-id: SENTINEL_GROUP data-id: ${spring.application.name}-flow-rules rule-type: flow data-type: json # 数据库配置 datasource: url: jdbc:mysql://${ENV_DEFAULT_MYSQL_SERVER_ADDR}/gpt?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true username: project password: project1205 # rabbitmq配置 rabbitmq: host: rabbitmq-hostname port: 5672 username: central password: 240203qqqQQQWER # redis配置 redis: host: redis-hostname port: 6379 database: 0 password: HorO9496sCopE clientName: ${spring.application.name}-redis # 日志配置 logging: level: com: atmob: central: info tencent: cloud: cos: secretId: AKIDkJbcBds6DAybJtEI6j8G9rNkvqgKl061 secretKey: pSqyqa7NN6ZmkRbZIn10lgQwDEySpz1r bucketName: horoscope-1255984948 cdnHost: http://cdn.atmob.com config: withdraw: warnEnabled: true webhookUrl: 'https://open.feishu.cn/open-apis/bot/v2/hook/9658fb50-ceb0-4822-aa7e-df70c624b529' chat: oneApiUrl: http://123.207.75.31:3000 oneApikey: sk-O2keOgHXHXEuAo0TA79b3f6eAfBf4807B1491b2852702900 # 角色聊天模型 characterChatModel: Doubao-pro-32k # 绘画生成SD提示词模型 drawSdPromptModel: Doubao-pro-32k # 对话工具和模板工具模型 chatToolModel: Doubao-lite-32k draw: # 任务过期时间 5 * 60 * 1000L = 5min taskExpiredMillis: 300000 # 任务超时时间 5 * 60 * 1000L = 5min taskTimeoutMillis: 300000 # 如果当前用户有任务在队列,延迟2s后进入队列 handlingDelayMillis: 2000 # 轮询结果间隔 10s resultPollingIntervalMillis: 10000 # 轮询识别结果超时时间 5 * 60 * 1000L = 5min resultPollingTimeoutMillis: 300000 video: # 任务过期时间 60 * 60 * 1000L = 60min taskExpiredMillis: 3600000 # 单个任务处理超时时间 45 * 60 * 1000L = 45min taskTimeoutMillis: 2700000 # 如果当前用户有任务在队列,延迟2s后进入队列 handlingDelayMillis: 2000 # 轮询结果间隔 30s resultPollingIntervalMillis: 30000 # 轮询识别结果超时时间 30 * 60 * 1000L = 30min resultPollingTimeoutMillis: 1800000 # 同一用户最大提交任务数 maxRunningTasks: 3 # chatfire host chatfireHost: https://api.chatfire.cn # chatfire key chatfireKey: Bearer sk-Gk45jJdam8ZOGKmW00A9F11a7cF34e3f953b3eDb7b9a2eF8 # hk host hkHost: https://api.openai-hk.com # hk key hkKey: Bearer hk-zcto63100003480674e262a3baf084fb92cc4df0df5c17d6 # 多米 host duomiHost: http://duomiapi.com # 多米 key duomiKey: FmX6sRUWPGgV583tWrqo6vGMPF