| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- server:
- port: 0 #端口
- spring:
- cloud:
- # nacos
- nacos:
- discovery:
- register-enabled: true
- server-addr: 127.0.0.1:8848
- username: nacos-dev
- password: nacos-dev
- namespace: 33360858-b0c2-4364-b8fb-d8879aa272a0
- circuitbreaker:
- sentinel:
- enabled: true
- sentinel:
- enabled: true
- transport:
- dashboard: 127.0.0.1:8858
- port: 0
- datasource:
- ds-flow-rules:
- nacos:
- server-addr: 127.0.0.1:8848
- username: nacos-dev
- password: nacos-dev
- 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://127.0.0.1:3306/gpt?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=Asia/Shanghai
- username: root
- password: 123456
- # rabbitmq配置
- rabbitmq:
- host: 127.0.0.1
- port: 5672
- # redis配置
- redis:
- host: 127.0.0.1
- port: 6379
- database: 0
- password: HorO9496sCopE
- clientName: ${spring.application.name}-redis
- # 日志配置
- logging:
- level:
- com:
- atmob:
- central: debug
- mybatis:
- configuration:
- logImpl: org.apache.ibatis.logging.stdout.StdOutImpl
- tencent:
- cloud:
- cos:
- secretId: AKIDkJbcBds6DAybJtEI6j8G9rNkvqgKl061
- secretKey: pSqyqa7NN6ZmkRbZIn10lgQwDEySpz1r
- bucketName: horoscope-1255984948
- cdnHost: http://cdn.atmob.com
- config:
- withdraw:
- warnEnabled: false
- 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
|