ai-manus/chat-server/src/main/resources/application-wuhan.yml

88 lines
3.0 KiB
YAML
Raw Normal View History

# 武汉环境配置
server:
environment: wuhan
spring:
datasource:
opengauss:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: org.opengauss.Driver
jdbc-url: jdbc:opengauss://${db-host:192.168.8.253}:${db-port:6600}/${db-name:bridb}?tcpKeepAlive=true&socketTimeout=30&connectTimeout=10
username: ${db-username:bripg}
password: ${db-passwd:Chuangrui139*}
postgresql:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: org.postgresql.Driver
jdbc-url: jdbc:postgresql://${pg-db-host:192.168.8.253}:${pg-db-port:5432}/${pg-db-name:dify}?tcpKeepAlive=true&socketTimeout=30&connectTimeout=10
username: ${pg-db-username:postgres}
password: ${pg-db-passwd:difyai123456}
redis:
database: 0
host: ${redis-host:192.168.8.253}
port: ${redis-port:6379}
password: ${redis-password:difyai123456}
jedis:
pool:
max-active: 200
max-wait: -1
max-idle: 10
min-idle: 0
timeout: 5000
bjtds:
mqtt:
host: tcp://${mqtt-hostname:192.168.8.253}:${mqtt-port:1883}
auth:
username: ${mqtt-username:bjtds}
password: ${mqtt-password:bjtds2019}
filePath:
uploadPath: ${upload-file-path:D:\bjtds\}
pdfFilePath: ${pdf-file-path:D:\bjtds\pdfFile\}
difyUploadPath: ${dify-upload-path:D:\bjtds\difyUploadFile\}
pdfFileTempPath: ${pdf-file-temp-path:D:\bjtds\pdfTempFile\pdfFile\}
ysylcJsonPath: ${ysylc-json-path:/home/data/billData/json/}
difyDocPreview: ${dify-doc-preview:http://192.168.8.253/dify-doc-preview}
ocrSrcDocPreview: ${ocr-src-doc-preview:http://192.168.8.253/ocr-src-doc-preview} # 武汉环境 Dify 服务地址
dify:
url: ${dify-url:http://192.168.8.253:16780} # 武汉环境 Dify 服务地址
server:
email: bjtds@bjtds.com # 请替换为实际的 Dify 服务邮箱,若不需要调用 server相关接口可不填
password: 123456Aa # 请替换为实际的 Dify 服务密码,若不需要调用 server相关接口可不填
dataset:
2025-09-28 17:30:43 +08:00
api-key: ${dify-dataset-api-key:dataset-fSaqYAlxDdkyyFRWA9zg1Jaw} # 请替换为实际的知识库api-key, 若不需要调用知识库可不填
2025-07-29 17:47:34 +08:00
# PDF转换服务配置
ocr:
service:
url: ${pdf-conversion-url:http://192.168.8.253:15040} # PDF转换服务地址
uploadPath: ${ocr-upload-path:/var/www/ppocr/uploads/}
outputPath: ${ocr-output-path:/var/www/ppocr/output/}
# 深度解析配置
deep:
analysis:
max:
concurrent: ${deep-analysis-max-concurrent:4} # 深度解析最大并发数
tempPath: ${deep-analysis-temp-path:/var/www/deepTemp/} # 深度解析临时文件路径
#es检索服务配置
elasticsearch:
host: ${es-host:192.168.8.253}
port: ${es-port:9200}
scheme: ${es-scheme:http}
#存储文件路径
dirPath: ${es-dirPath:C:\\Users\\ASUS\\Desktop\\data}
#是否删除索引,重新构建索引
deleteIndex: ${es-deleteIndex:false}
2025-09-22 17:25:47 +08:00
voice2text:
url: ${voice2text-url:http://192.168.8.253:11023/v1/audio/transcriptions}
model: ${voice2text-model:whisper-1}