|
|
@@ -15,9 +15,9 @@ vber:
|
|
|
master:
|
|
|
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
|
|
|
driverClassName: com.mysql.jdbc.Driver
|
|
|
- url: jdbc:mysql://47.112.30.247:4501/VberAdminPlus?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+ url: jdbc:mysql://192.168.0.82:3306/VberAdminPlus?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
|
|
|
username: root
|
|
|
- password: Iwb2023
|
|
|
+ password: 123456
|
|
|
rules:
|
|
|
props:
|
|
|
sql.show: true
|
|
|
@@ -28,20 +28,20 @@ vber:
|
|
|
spring.boot.admin.client:
|
|
|
# 增加客户端开关
|
|
|
enabled: false
|
|
|
- url: http://47.112.30.247:6067/admin
|
|
|
+ url: http://localhost:6067/admin
|
|
|
instance:
|
|
|
service-host-type: IP
|
|
|
username: vber
|
|
|
- password: 123456
|
|
|
+ password: 123iwb
|
|
|
|
|
|
--- # xxl-job 配置
|
|
|
xxl.job:
|
|
|
# 执行器开关
|
|
|
enabled: true
|
|
|
# 调度中心地址:如调度中心集群部署存在多个地址则用逗号分隔。
|
|
|
- admin-addresses: http://47.112.30.247:6068/xxl-job-admin
|
|
|
+ admin-addresses: http://localhost:6068/xxl-job-admin
|
|
|
# 执行器通讯TOKEN:非空时启用
|
|
|
- access-token: xxl-job
|
|
|
+ access-token: vber2023
|
|
|
executor:
|
|
|
# 执行器AppName:执行器心跳注册分组依据;为空则关闭自动注册
|
|
|
appname: xxl-job-executor
|
|
|
@@ -75,15 +75,15 @@ spring:
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
|
|
|
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
|
|
|
- url: jdbc:mysql://47.112.30.247:4501/VberAdminPlus?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
|
|
|
+ url: jdbc:mysql://192.168.0.82:3306/VberAdminPlus?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
|
|
|
username: root
|
|
|
- password: Iwb2023
|
|
|
+ password: 123456
|
|
|
# 从库数据源
|
|
|
# slave:
|
|
|
# lazy: true
|
|
|
# type: ${spring.datasource.type}
|
|
|
# driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
- # 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://192.168.0.82:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
|
|
|
# username:
|
|
|
# password:
|
|
|
|
|
|
@@ -109,13 +109,13 @@ spring:
|
|
|
spring:
|
|
|
redis:
|
|
|
# 地址
|
|
|
- host: 47.112.30.247
|
|
|
+ host: 192.168.0.82
|
|
|
# 端口,默认为6379
|
|
|
- port: 6399
|
|
|
+ port: 6379
|
|
|
# 数据库索引
|
|
|
database: 0
|
|
|
# 密码(如没有密码请注释掉)
|
|
|
- password: Iwb-2017
|
|
|
+ #password: Iwb-2017
|
|
|
# 连接超时时间
|
|
|
timeout: 10s
|
|
|
lettuce:
|