文档库--es配置

This commit is contained in:
zhn
2022-03-15 17:10:25 +08:00
parent 5837df3dc3
commit 0c93a4278d
@@ -131,16 +131,14 @@ spring:
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
datasource:
master:
# url: jdbc:mysql://10.0.3.44:3306/jero-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
url: jdbc:mysql://10.10.10.44:3306/laws_weilai_test?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false
url: jdbc:mysql://121.36.69.172:3307/laws_weilai?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false
username: root
password: 123456
# driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://121.36.69.172:3307/laws_weilai?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false
# url: jdbc:mysql://121.36.69.172:3307/laws_weilai?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
# username: root
# password: hzwlsoft.com
password: hzwlsoft.com
driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://10.10.10.44/ laws_weilai_test?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false
# username: root
# password: 123456
# driver-class-name: com.mysql.cj.jdbc.Driver
# 多数据源配置
#multi-datasource1:
#url: jdbc:mysql://localhost:3306/jero-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
@@ -186,7 +184,7 @@ jero :
uploadType: local
path :
#文件上传根目录 设置
upload: D://opt//upFiles
upload: E://opt//upFiles
#webapp文件路径
webapp: D://opt//webapp
shiro:
@@ -199,10 +197,15 @@ jero :
bucketName: jeroos
staticDomain: ??
# ElasticSearch 6设置
# elasticsearch:
# cluster-name: jero-ES
# cluster-nodes: 127.0.0.1:9200
# check-enabled: false
elasticsearch:
cluster-name: jero-ES
cluster-nodes: 127.0.0.1:9200
cluster-name: elasticsearch
cluster-nodes: 121.36.69.172:9200
check-enabled: false
poolSize: 5
# 表单设计器配置
desform:
# 主题颜色(仅支持 16进制颜色代码)
@@ -365,4 +368,4 @@ Feishu:
appId: cli_a16d47ca9f381013
appSecret: DSfCrj70xku2VUjqwHBIuuY6HZnz7ppe
getTenantAccessTokenUrl: https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal
batchSendMessageUrl: https://open.feishu.cn/open-apis/message/v4/batch_send/
batchSendMessageUrl: https://open.feishu.cn/open-apis/message/v4/batch_send/