|
@ -24,6 +24,25 @@ spring:
|
|
|
min-evictable-idle-time-millis: 3600000 #连接池中连接,在时间段内一直空闲,被逐出连接池的时间(1000*60*60),以毫秒为单位
|
|
|
time-between-eviction-runs-millis: 300000 #在空闲连接回收器线程运行期间休眠的时间值,以毫秒为单位,一般比minEvictableIdleTimeMillis小
|
|
|
|
|
|
data:
|
|
|
elasticsearch: #ElasticsearchProperties
|
|
|
cluster-name: jkzl #默认即为elasticsearch 集群名
|
|
|
cluster-nodes: 172.19.103.68:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
|
|
|
local: false #是否本地连接
|
|
|
properties: # Additional properties used to configure the client.
|
|
|
enable: true
|
|
|
# JEST (Elasticsearch HTTP client) (JestProperties)
|
|
|
elasticsearch:
|
|
|
jest:
|
|
|
uris: http://172.19.103.68:9200
|
|
|
# uris: http://172.19.103.68:9200
|
|
|
connection-timeout: 60000 # Connection timeout in milliseconds.
|
|
|
multi-threaded: true # Enable connection requests from multiple execution threads.
|
|
|
# username: # Login user.
|
|
|
# password: # Login password.
|
|
|
# proxy.port: # Proxy port the HTTP client should use.
|
|
|
# proxy.host: # Proxy host the HTTP client should use.
|
|
|
|
|
|
#hibernate 配置
|
|
|
hibernate:
|
|
|
dialect: org.hibernate.dialect.MySQL5Dialect
|
|
@ -50,7 +69,7 @@ spring:
|
|
|
profiles: jwdev
|
|
|
|
|
|
datasource:
|
|
|
url: jdbc:mysql://172.19.103.77:3306/xmiot?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
|
|
|
url: jdbc:mysql://172.19.103.77:3306/wlyy_archives?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
|
|
|
username: root
|
|
|
password: 123456
|
|
|
fastDFS:
|