|
|
@ -15,7 +15,7 @@ spring.boot.admin.client: |
|
|
|
password: 123456 |
|
|
|
server: |
|
|
|
# 端口号 |
|
|
|
port: 8081 |
|
|
|
port: 8082 |
|
|
|
--- # snail-job 配置 |
|
|
|
snail-job: |
|
|
|
enabled: false |
|
|
@ -29,9 +29,7 @@ snail-job: |
|
|
|
# 详见 script/sql/snail_job.sql `sj_namespace` 表 |
|
|
|
namespace: ${spring.profiles.active} |
|
|
|
# 随主应用端口飘逸 |
|
|
|
port: 2${server.port} |
|
|
|
# 客户端ip指定 |
|
|
|
host: |
|
|
|
port: 3${server.port} |
|
|
|
|
|
|
|
--- # 数据源配置 |
|
|
|
spring: |
|
|
@ -52,35 +50,35 @@ spring: |
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver |
|
|
|
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562 |
|
|
|
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题) |
|
|
|
url: jdbc:mysql://localhost:3306/zaojia?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true |
|
|
|
url: jdbc:mysql://10.1.21.250:3306/aitesttable?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true |
|
|
|
username: root |
|
|
|
password: root |
|
|
|
password: HXj-6nR|D8xy*h#!I&:( |
|
|
|
# 从库数据源 |
|
|
|
slave: |
|
|
|
lazy: true |
|
|
|
type: ${spring.datasource.type} |
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver |
|
|
|
url: jdbc:mysql://116.62.210.190:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true |
|
|
|
username: root |
|
|
|
password: Guoyan83086775 |
|
|
|
# oracle: |
|
|
|
# type: ${spring.datasource.type} |
|
|
|
# driverClassName: oracle.jdbc.OracleDriver |
|
|
|
# url: jdbc:oracle:thin:@//localhost:1521/XE |
|
|
|
# username: ROOT |
|
|
|
# password: root |
|
|
|
# postgres: |
|
|
|
# type: ${spring.datasource.type} |
|
|
|
# driverClassName: org.postgresql.Driver |
|
|
|
# url: jdbc:postgresql://localhost:5432/postgres?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true |
|
|
|
# username: root |
|
|
|
# password: root |
|
|
|
# sqlserver: |
|
|
|
# type: ${spring.datasource.type} |
|
|
|
# driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver |
|
|
|
# url: jdbc:sqlserver://localhost:1433;DatabaseName=tempdb;SelectMethod=cursor;encrypt=false;rewriteBatchedStatements=true |
|
|
|
# username: SA |
|
|
|
# password: root |
|
|
|
# slave: |
|
|
|
# lazy: true |
|
|
|
# type: ${spring.datasource.type} |
|
|
|
# driverClassName: com.mysql.cj.jdbc.Driver |
|
|
|
# url: jdbc:mysql://116.62.210.190:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true |
|
|
|
# username: root |
|
|
|
# password: Guoyan83086775 |
|
|
|
# oracle: |
|
|
|
# type: ${spring.datasource.type} |
|
|
|
# driverClassName: oracle.jdbc.OracleDriver |
|
|
|
# url: jdbc:oracle:thin:@//localhost:1521/XE |
|
|
|
# username: ROOT |
|
|
|
# password: root |
|
|
|
# postgres: |
|
|
|
# type: ${spring.datasource.type} |
|
|
|
# driverClassName: org.postgresql.Driver |
|
|
|
# url: jdbc:postgresql://localhost:5432/postgres?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true |
|
|
|
# username: root |
|
|
|
# password: root |
|
|
|
# sqlserver: |
|
|
|
# type: ${spring.datasource.type} |
|
|
|
# driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver |
|
|
|
# url: jdbc:sqlserver://localhost:1433;DatabaseName=tempdb;SelectMethod=cursor;encrypt=false;rewriteBatchedStatements=true |
|
|
|
# username: SA |
|
|
|
# password: root |
|
|
|
hikari: |
|
|
|
# 最大连接池数量 |
|
|
|
maxPoolSize: 20 |
|
|
@ -107,7 +105,7 @@ spring.data: |
|
|
|
# 数据库索引 |
|
|
|
database: 0 |
|
|
|
# redis 密码必须配置 |
|
|
|
password: root |
|
|
|
password: F*Nx=BZli+ZCCI-Fil+3 |
|
|
|
# 连接超时时间 |
|
|
|
timeout: 10s |
|
|
|
# 是否开启ssl |
|
|
@ -284,5 +282,6 @@ justauth: |
|
|
|
# maxConnectNumPerRoute: 100 |
|
|
|
chat: |
|
|
|
# 聊天机器人配置 |
|
|
|
filePath: /usr/app/tempFile |
|
|
|
chatUrl: http://183.136.156.2:50000 |
|
|
|
filePath: /guoYanXinXi/data/software/minio/data/ruoyi/ |
|
|
|
tempfilePath: /guoYanXinXi/data/software/app/tempfile/ |
|
|
|
chatUrl: http://127.0.0.1:8081 |
|
|
|