94 lines
2.6 KiB
YAML
94 lines
2.6 KiB
YAML
|
eureka:
|
||
|
client:
|
||
|
serviceUrl:
|
||
|
defaultZone: http://${eureka-host:localhost}:8077/eureka
|
||
|
instance:
|
||
|
prefer-ip-address: true
|
||
|
server:
|
||
|
port: 16750
|
||
|
servlet:
|
||
|
encoding:
|
||
|
charset: utf-8
|
||
|
enabled: true
|
||
|
spring:
|
||
|
application:
|
||
|
name: brichat-service
|
||
|
|
||
|
# ????????
|
||
|
servlet:
|
||
|
multipart:
|
||
|
max-request-size: 10MB
|
||
|
max-file-size: 10MB
|
||
|
|
||
|
# ???????
|
||
|
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}
|
||
|
data:
|
||
|
mongodb:
|
||
|
uri: ${mongo-uri:mongodb://bjtds:bjtds2019@localhost:27017/bjtds}
|
||
|
|
||
|
http:
|
||
|
encoding:
|
||
|
charset: utf-8
|
||
|
enabled: true
|
||
|
|
||
|
jackson:
|
||
|
time-zone: GMT+8
|
||
|
|
||
|
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
|
||
|
|
||
|
# ??sql??
|
||
|
mybatis-plus:
|
||
|
configuration:
|
||
|
# log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
|
||
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||
|
global-config:
|
||
|
db-config:
|
||
|
id-type: auto # ????
|
||
|
|
||
|
bjtds:
|
||
|
mqtt:
|
||
|
host: tcp://${mqtt-hostname:localhost}:${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\}
|
||
|
|
||
|
|
||
|
|
||
|
dify:
|
||
|
url: ${dify-url:http://192.168.8.253:16780} # 请替换为实际的 Dify 服务地址
|
||
|
server:
|
||
|
email: bjtds@bjtds.com # 请替换为实际的 Dify 服务邮箱,若不需要调用 server相关接口可不填
|
||
|
password: 123456Aa # 请替换为实际的 Dify 服务密码,若不需要调用 server相关接口可不填
|
||
|
dataset:
|
||
|
api-key: ${dify-dataset-api-key:dataset-0Hij9IwoWYbJe1vvwVh8y7DS} # 请替换为实际的知识库api-key, 若不需要调用知识库可不填
|
||
|
|