Files
admin-api/src/main/resources/application-dev.yml
T

31 lines
912 B
YAML
Raw Normal View History

2018-10-22 16:17:08 +08:00
spring:
datasource:
primary:
2018-10-30 16:38:48 +08:00
username: cdairport
2018-10-22 16:17:08 +08:00
password: 123456
2018-10-30 16:38:48 +08:00
url: jdbc:mysql://130.120.3.158:3306/cdairport?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true
2018-10-22 16:17:08 +08:00
tomcat:
max-active: 30
test-on-borrow: true
initial-size: 3
secondary:
2018-10-22 16:17:08 +08:00
username: ommsxc
password: ommsxc
#url: jdbc:oracle:thin:@130.120.3.236:1521/xe
url: jdbc:oracle:thin:@130.120.2.105:1521/orcl
2018-10-22 16:17:08 +08:00
driver: oracle.jdbc.driver.OracleDriver
tomcat:
max-active: 30
test-on-borrow: true
2018-11-27 17:59:24 +08:00
initial-size: 3
# 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