|
@@ -3,23 +3,19 @@ spring:
|
|
|
cloud:
|
|
|
nacos:
|
|
|
discovery:
|
|
|
- server-addr: 8.152.206.82:8848
|
|
|
- username: nacos
|
|
|
- password: nacos
|
|
|
- config:
|
|
|
- enabled: true
|
|
|
+ server-addr: 82.156.209.15:8848
|
|
|
application:
|
|
|
name: ezhizao-yzbh-sys
|
|
|
# redis 配置
|
|
|
redis:
|
|
|
# 地址
|
|
|
- host: 8.152.206.82
|
|
|
+ host: 62.234.54.84
|
|
|
# 端口,默认为6379
|
|
|
- port: 6379
|
|
|
+ port: 16379
|
|
|
# 数据库索引
|
|
|
database: 8
|
|
|
# 密码
|
|
|
- password: ezhizao.cn123456
|
|
|
+ password: yuchang@2023
|
|
|
# 连接超时时间
|
|
|
timeout: 10s
|
|
|
lettuce:
|
|
@@ -38,9 +34,9 @@ spring:
|
|
|
druid:
|
|
|
# 主库数据源
|
|
|
master:
|
|
|
- url: jdbc:mysql://8.152.206.82:3306/ezhizao_yzbh_v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=true&rewriteBatchedStatements=true&serverTimezone=GMT%2B8&connectTimeout=360000&socketTimeout=360000
|
|
|
- username: root
|
|
|
- password: ezhizao.cn123456
|
|
|
+ url: jdbc:mysql://82.156.209.15:3306/ezhizao_yzbh_v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=true&rewriteBatchedStatements=true&serverTimezone=GMT%2B8&connectTimeout=360000&socketTimeout=360000
|
|
|
+ username: admin
|
|
|
+ password: ~44rC%0J
|
|
|
# 初始连接数
|
|
|
initialSize: 5
|
|
|
# 最小连接池数量
|