67 lines
2.1 KiB
YAML
67 lines
2.1 KiB
YAML
spring:
|
|
jpa:
|
|
show-sql: true
|
|
datasource:
|
|
primary:
|
|
username: cdairport
|
|
password: 123456
|
|
url: jdbc:mysql://130.120.3.235:3306/cdairport?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&autoReconnect=true
|
|
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
|
|
secondary:
|
|
username: omms
|
|
password: omms
|
|
#url: jdbc:oracle:thin:@130.120.3.236:1521/xe
|
|
#url: jdbc:oracle:thin:@130.120.3.31:1521/orcl
|
|
url: jdbc:oracle:thin:@130.120.2.105:1521/orcl
|
|
driver: oracle.jdbc.driver.OracleDriver
|
|
max-active: 30
|
|
test-on-borrow: true
|
|
validation-query: SELECT 1 FROM dual
|
|
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
|
|
eureka:
|
|
client:
|
|
service-url:
|
|
defaultZone: http://130.120.3.235:94/eureka/
|
|
instance:
|
|
prefer-ip-address: false
|
|
hostName: adminapi
|
|
sysApi:
|
|
host: 130.120.3.235
|
|
port: 93
|
|
schema: http
|
|
#baseUrl: ${sysApi.schema}://${sysApi.host}:${sysApi.port}
|
|
baseUrl: ${sysApi.schema}://SYSAPI
|
|
getOpLogSwitchByLevleAndNameUrl: ${sysApi.baseUrl}/oplog/getOpLogSwitch/{level}/{name}
|
|
|
|
logstash:
|
|
host: 130.120.3.234:5000
|
|
# Elasticsearch
|
|
# 9200端口是用来让HTTP REST API来访问ElasticSearch,而9300端口是传输层监听的默认端口
|
|
elasticsearch:
|
|
ip: 130.120.3.234
|
|
port: 9300
|
|
pool: 5
|
|
#注意cluster.name需要与config/elasticsearch.yml中的cluster.name一致
|
|
cluster:
|
|
name: docker-cluster
|
|
nodes: 130.120.3.234:9300,130.120.3.236:9300,130.120.3.238:9300
|
|
maxSize: 10000 |