|
@@ -1,7 +1,7 @@
|
|
|
--- # 监控中心配置
|
|
--- # 监控中心配置
|
|
|
spring.boot.admin.client:
|
|
spring.boot.admin.client:
|
|
|
# 增加客户端开关
|
|
# 增加客户端开关
|
|
|
- enabled: true
|
|
|
|
|
|
|
+ enabled: false
|
|
|
url: http://localhost:9090/admin
|
|
url: http://localhost:9090/admin
|
|
|
instance:
|
|
instance:
|
|
|
service-host-type: IP
|
|
service-host-type: IP
|
|
@@ -11,7 +11,7 @@ spring.boot.admin.client:
|
|
|
--- # xxl-job 配置
|
|
--- # xxl-job 配置
|
|
|
xxl.job:
|
|
xxl.job:
|
|
|
# 执行器开关
|
|
# 执行器开关
|
|
|
- enabled: true
|
|
|
|
|
|
|
+ enabled: false
|
|
|
# 调度中心地址:如调度中心集群部署存在多个地址则用逗号分隔。
|
|
# 调度中心地址:如调度中心集群部署存在多个地址则用逗号分隔。
|
|
|
admin-addresses: http://localhost:9100/xxl-job-admin
|
|
admin-addresses: http://localhost:9100/xxl-job-admin
|
|
|
# 执行器通讯TOKEN:非空时启用
|
|
# 执行器通讯TOKEN:非空时启用
|
|
@@ -49,7 +49,7 @@ spring:
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
|
|
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
|
|
|
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
|
|
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
|
|
|
- url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
|
|
|
|
|
|
|
+ url: jdbc:mysql://localhost:3306/iotc?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
|
|
|
username: root
|
|
username: root
|
|
|
password: root
|
|
password: root
|
|
|
# 从库数据源
|
|
# 从库数据源
|