|
@@ -3,19 +3,23 @@ spring:
|
|
|
cloud:
|
|
|
nacos:
|
|
|
discovery:
|
|
|
- server-addr: 82.156.209.15:8848
|
|
|
+ server-addr: 8.152.199.123:8848
|
|
|
+ username: nacos
|
|
|
+ password: nacos
|
|
|
+ config:
|
|
|
+ enabled: true
|
|
|
application:
|
|
|
name: ezhizao-yzbh-entrust
|
|
|
# redis 配置
|
|
|
redis:
|
|
|
# 地址
|
|
|
- host: 62.234.54.84
|
|
|
+ host: 8.152.199.123
|
|
|
# 端口,默认为6379
|
|
|
- port: 16379
|
|
|
+ port: 6379
|
|
|
# 数据库索引
|
|
|
database: 8
|
|
|
# 密码
|
|
|
- password: yuchang@2023
|
|
|
+ password: ezhizao.cn123456
|
|
|
# 连接超时时间
|
|
|
timeout: 10s
|
|
|
lettuce:
|
|
@@ -34,9 +38,9 @@ spring:
|
|
|
druid:
|
|
|
# 主库数据源
|
|
|
master:
|
|
|
- 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
|
|
|
+ url: jdbc:mysql://8.152.199.123: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://localhost:3306/ezhizao_yzbh_v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=true&rewriteBatchedStatements=true&serverTimezone=GMT%2B8
|
|
|
# username: root
|
|
|
# password: 123456
|