|
@@ -1,10 +1,10 @@
|
|
|
--- # 临时文件存储位置 避免临时文件被系统清理报错
|
|
|
-spring.servlet.multipart.location: /ruoyi/server/temp
|
|
|
+spring.servlet.multipart.location: /data/bailian-admin/temp
|
|
|
|
|
|
--- # 监控中心配置
|
|
|
spring.boot.admin.client:
|
|
|
# 增加客户端开关
|
|
|
- enabled: true
|
|
|
+ enabled: false
|
|
|
url: http://localhost:9090/admin
|
|
|
instance:
|
|
|
service-host-type: IP
|
|
@@ -16,14 +16,14 @@ xxl.job:
|
|
|
# 执行器开关
|
|
|
enabled: true
|
|
|
# 调度中心地址:如调度中心集群部署存在多个地址则用逗号分隔。
|
|
|
- admin-addresses: http://localhost:9100/xxl-job-admin
|
|
|
+ admin-addresses: http://192.168.0.26:8080/xxl-job-admin
|
|
|
# 执行器通讯TOKEN:非空时启用
|
|
|
- access-token: xxl-job
|
|
|
+ access-token: tokenixuemtuoekpjmixhddlhzssuquvvlxya
|
|
|
executor:
|
|
|
# 执行器AppName:执行器心跳注册分组依据;为空则关闭自动注册
|
|
|
- appname: xxl-job-executor
|
|
|
+ appname: benyun-bailian
|
|
|
# 执行器端口号 执行器从9101开始往后写
|
|
|
- port: 9101
|
|
|
+ port: 9106
|
|
|
# 执行器注册:默认IP:PORT
|
|
|
address:
|
|
|
# 执行器IP:默认自动获取IP
|
|
@@ -52,18 +52,18 @@ spring:
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
|
|
|
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
|
|
|
- url: jdbc:mysql://192.168.2.64:3306/bailian-ai?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
|
|
|
+ url: jdbc:mysql://192.168.0.31:3306/benyun-bailian?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
|
|
|
username: root
|
|
|
- password: benyun
|
|
|
+ password: LongX@321
|
|
|
|
|
|
# 从库数据源
|
|
|
slave:
|
|
|
lazy: true
|
|
|
type: ${spring.datasource.type}
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
- url: jdbc:mysql://192.168.2.64:3306/bailian-ai?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
|
|
|
- username:
|
|
|
- password:
|
|
|
+ url: jdbc:mysql://192.168.0.31:3306/benyun-bailian?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
|
|
|
+ username: root
|
|
|
+ password: LongX@321
|
|
|
# oracle:
|
|
|
# type: ${spring.datasource.type}
|
|
|
# driverClassName: oracle.jdbc.OracleDriver
|
|
@@ -106,13 +106,13 @@ spring:
|
|
|
spring:
|
|
|
redis:
|
|
|
# 地址
|
|
|
- host: 192.168.2.64
|
|
|
+ host: 192.168.0.34
|
|
|
# 端口,默认为6379
|
|
|
port: 6379
|
|
|
# 数据库索引
|
|
|
- database: 11
|
|
|
+ database: 12
|
|
|
# 密码(如没有密码请注释掉)
|
|
|
- password: "123456"
|
|
|
+ password: lsf@12345
|
|
|
# 连接超时时间
|
|
|
timeout: 10s
|
|
|
# 是否开启ssl
|