2018-10-22 16:17:08 +08:00
|
|
|
spring:
|
2018-12-19 11:01:14 +08:00
|
|
|
jpa:
|
|
|
|
|
show-sql: true
|
2018-10-22 16:17:08 +08:00
|
|
|
datasource:
|
|
|
|
|
primary:
|
2018-10-30 16:38:48 +08:00
|
|
|
username: cdairport
|
2018-10-22 16:17:08 +08:00
|
|
|
password: 123456
|
2018-12-19 11:01:14 +08:00
|
|
|
url: jdbc:mysql://130.120.3.158:3306/cdairport?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&autoReconnect=true
|
2018-12-24 10:40:12 +08:00
|
|
|
max-active: 30
|
|
|
|
|
test-on-borrow: true
|
|
|
|
|
validation-query: SELECT 1
|
|
|
|
|
initialSize: 5
|
|
|
|
|
min-idle: 1
|
|
|
|
|
max-wait: 60000
|
|
|
|
|
time-between-eviction-runs-millis: 60000
|
|
|
|
|
min-evictable-idle-time-millis: 300000
|
|
|
|
|
test-while-idle: true
|
|
|
|
|
test-on-return: true
|
|
|
|
|
pool-prepared-statements: false
|
|
|
|
|
max-pool-prepared-statement-per-connection-size: 20
|
2018-10-22 18:26:43 +08:00
|
|
|
secondary:
|
2018-10-22 16:17:08 +08:00
|
|
|
username: ommsxc
|
|
|
|
|
password: ommsxc
|
2018-11-23 12:00:39 +08:00
|
|
|
#url: jdbc:oracle:thin:@130.120.3.236:1521/xe
|
2019-01-10 10:08:35 +08:00
|
|
|
url: jdbc:oracle:thin:@130.120.3.31:1521/orcl
|
2018-10-22 16:17:08 +08:00
|
|
|
driver: oracle.jdbc.driver.OracleDriver
|
2018-12-24 12:48:19 +08:00
|
|
|
max-active: 30
|
|
|
|
|
test-on-borrow: true
|
2018-12-24 14:32:20 +08:00
|
|
|
validation-query: SELECT 1 FROM dual
|
2018-12-24 12:48:19 +08:00
|
|
|
initial-size: 10
|
|
|
|
|
min-idle: 1
|
|
|
|
|
max-wait: 60000
|
|
|
|
|
time-between-eviction-runs-millis: 60000
|
|
|
|
|
min-evictable-idle-time-millis: 300000
|
|
|
|
|
test-while-idle: true
|
|
|
|
|
test-on-return: true
|
|
|
|
|
pool-prepared-statements: false
|
|
|
|
|
max-pool-prepared-statement-per-connection-size: 20
|
2018-12-03 11:55:21 +08:00
|
|
|
sysApi:
|
|
|
|
|
host: 130.120.3.231
|
|
|
|
|
port: 93
|
|
|
|
|
schema: http
|
|
|
|
|
baseUrl: ${sysApi.schema}://${sysApi.host}:${sysApi.port}
|
|
|
|
|
getOpLogSwitchByLevleAndNameUrl: ${sysApi.baseUrl}/oplog/getOpLogSwitch/{level}/{name}
|
2018-12-04 12:01:58 +08:00
|
|
|
|
|
|
|
|
logstash:
|
|
|
|
|
host: 130.120.3.233:5000
|
2018-11-27 17:59:24 +08:00
|
|
|
# Elasticsearch
|
|
|
|
|
# 9200端口是用来让HTTP REST API来访问ElasticSearch,而9300端口是传输层监听的默认端口
|
|
|
|
|
elasticsearch:
|
|
|
|
|
ip: 130.120.3.233
|
|
|
|
|
port: 9300
|
|
|
|
|
pool: 5
|
|
|
|
|
#注意cluster.name需要与config/elasticsearch.yml中的cluster.name一致
|
|
|
|
|
cluster:
|
|
|
|
|
name: docker-cluster
|