|
@@ -1,17 +1,21 @@
|
|
# 数据源配置
|
|
# 数据源配置
|
|
spring:
|
|
spring:
|
|
|
|
+ cloud:
|
|
|
|
+ nacos:
|
|
|
|
+ discovery:
|
|
|
|
+ server-addr: 154.8.178.69:8848 # Nacos服务器地址
|
|
application:
|
|
application:
|
|
- name: ezhizao-yzbh-production-zx
|
|
|
|
|
|
+ name: ezhizao-yzbh-production
|
|
# redis 配置
|
|
# redis 配置
|
|
redis:
|
|
redis:
|
|
# 地址
|
|
# 地址
|
|
- host: 120.46.159.163
|
|
|
|
|
|
+ host: 62.234.54.84
|
|
# 端口,默认为6379
|
|
# 端口,默认为6379
|
|
- port: 6379
|
|
|
|
|
|
+ port: 16379
|
|
# 数据库索引
|
|
# 数据库索引
|
|
database: 8
|
|
database: 8
|
|
# 密码
|
|
# 密码
|
|
- password: ezhizao.cn123456
|
|
|
|
|
|
+ password: yuchang@2023
|
|
# 连接超时时间
|
|
# 连接超时时间
|
|
timeout: 10s
|
|
timeout: 10s
|
|
lettuce:
|
|
lettuce:
|
|
@@ -30,9 +34,9 @@ spring:
|
|
druid:
|
|
druid:
|
|
# 主库数据源
|
|
# 主库数据源
|
|
master:
|
|
master:
|
|
- url: jdbc:mysql://120.46.159.163:3306/ezhizao_yzbh_v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&rewriteBatchedStatements=true&serverTimezone=GMT%2B8
|
|
|
|
- username: root
|
|
|
|
- password: ezhizao.cn123456
|
|
|
|
|
|
+ url: jdbc:mysql://154.8.178.69:3306/ezhizao_yzbh_v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=true&rewriteBatchedStatements=true&serverTimezone=GMT%2B8
|
|
|
|
+ username: admin
|
|
|
|
+ password: admin
|
|
# url: jdbc:mysql://localhost:3306/ezhizao_yzbh_v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=true&rewriteBatchedStatements=true&serverTimezone=GMT%2B8
|
|
# 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
|
|
# username: root
|
|
# password: 123456
|
|
# password: 123456
|
|
@@ -84,4 +88,8 @@ spring:
|
|
multi-statement-allow: true
|
|
multi-statement-allow: true
|
|
# 文件上传
|
|
# 文件上传
|
|
ruoyi:
|
|
ruoyi:
|
|
- profile: D:/Ezhizao/yzbh/
|
|
|
|
|
|
+ profile: /home/ruoyi/yzbh/
|
|
|
|
+ pdfTemplate:
|
|
|
|
+ url: /home/files/yzbh/templates/
|
|
|
|
+ pdfFontPath:
|
|
|
|
+ url: /usr/share/fonts/chinese/
|