51 lines
1.9 KiB
YAML
51 lines
1.9 KiB
YAML
# 武汉环境配置
|
|
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\}
|
|
|
|
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, 若不需要调用知识库可不填 |