Browse Source

新增从库

dev
zhouhaibin 2 weeks ago
parent
commit
d46728c994
  1. 31
      ruoyi-admin/src/main/resources/application-dev.yml

31
ruoyi-admin/src/main/resources/application-dev.yml

@ -46,13 +46,13 @@ spring:
username: root username: root
password: root password: root
# 从库数据源 # 从库数据源
# slave: slave:
# lazy: true lazy: true
# type: ${spring.datasource.type} type: ${spring.datasource.type}
# driverClassName: com.mysql.cj.jdbc.Driver 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&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true 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: username: root
# password: password: Guoyan83086775
# oracle: # oracle:
# type: ${spring.datasource.type} # type: ${spring.datasource.type}
# driverClassName: oracle.jdbc.OracleDriver # driverClassName: oracle.jdbc.OracleDriver
@ -256,3 +256,20 @@ justauth:
client-id: 10**********6 client-id: 10**********6
client-secret: 1f7d08**********5b7**********29e client-secret: 1f7d08**********5b7**********29e
redirect-uri: ${justauth.address}/social-callback?source=gitlab redirect-uri: ${justauth.address}/social-callback?source=gitlab
elasticsearch:
# es host ip 地址(集群),多个以","间隔
uris: localhost:9200
username: elastic
password: 123456789
# es 请求方式
scheme: http
# es 连接超时时间(ms)
connectTimeOut: 1000
# es socket 连接超时时间(ms)
socketTimeOut: 30000
# es 请求超时时间(ms)
connectionRequestTimeOut: 500
# es 最大连接数
maxConnectNum: 100
# es 每个路由的最大连接数
maxConnectNumPerRoute: 100

Loading…
Cancel
Save