|
|
@ -46,13 +46,13 @@ spring: |
|
|
|
username: root |
|
|
|
password: root |
|
|
|
# 从库数据源 |
|
|
|
# slave: |
|
|
|
# lazy: true |
|
|
|
# type: ${spring.datasource.type} |
|
|
|
# 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 |
|
|
|
# username: |
|
|
|
# password: |
|
|
|
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 |
|
|
@ -256,3 +256,20 @@ justauth: |
|
|
|
client-id: 10**********6 |
|
|
|
client-secret: 1f7d08**********5b7**********29e |
|
|
|
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 |
|
|
|