server:
|
port: 8082
|
tomcat:
|
uri-encoding: UTF-8
|
|
spring:
|
main:
|
allow-bean-definition-overriding: true
|
http:
|
encoding:
|
force: true
|
charset: UTF-8
|
enabled: true
|
data:
|
mongodb:
|
username: yeshi
|
password: 'Yeshi2016@'
|
host: 193.112.35.168
|
port: 27016
|
database: location
|
authentication-database: admin
|
redis:
|
host: 193.112.35.168 #193.112.34.40
|
port: 6380
|
#Yeshi2016@
|
password: 'crs-43yhgz0i:Yeshi2016@'
|
timeout: 5000
|
database: 11
|
lettuce:
|
pool:
|
max-active: 200 #连接池最大连接数
|
max-wait: 5000 #连接池最大阻塞等待时间
|
max-idle: 50 #连接池中的最大空闲连接
|
time-between-eviction-runs: 60000 #每隔多长时间运行一次空闲连接回收器(独立线程)
|
min-idle: 0 #连接池中的最小空闲连接
|
shutdown-timeout: 5000 #连接关闭超时时间
|
jedis:
|
pool:
|
max-total: 1024
|
max-wait: 10000ms
|
max-idle: 200
|
test_on_borrow: true
|
min-idle: 8
|
|
|
datasource:
|
url: jdbc:mysql://gz-cdb-r13d0yi9.sql.tencentcdb.com:62929/location?serverTimezone=GMT%2B8
|
username: root
|
password: Yeshi2016@
|
driver-class-name: com.mysql.jdbc.Driver
|
type: com.alibaba.druid.pool.DruidDataSource
|
druid:
|
initial-size: 8
|
min-idle: 1
|
max-active: 20
|
max-wait: 60000
|
time-between-eviction-runsMillis: 60000
|
min-evictable-idle-timeMillis: 300000
|
validation-query: select 'x' FROM DUAL
|
test-while-idle: true
|
test-on-borrow: false
|
test-on-return: false
|
pool-prepared-statements: true
|
max-open-prepared-statements: 20
|
max-pool-prepared-statement-per-connection-size: 20
|
filters: stat
|
connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
|
use-global-data-source-stat: true
|
mybatis:
|
mapper-locations: classpath:mapper/*.xml
|
type-aliases-package: com.yeshi.location.app.entity
|
configuration:
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
xxl:
|
job:
|
accessToken:
|
executor:
|
appname: service-push
|
ip:
|
logpath: /data/applogs/xxl-job/jobhandler
|
logretentiondays: -1
|
port: 9999
|
admin:
|
addresses: http://1.14.235.17:9000/xxl-job-admin
|
|
#buddo配置参数
|
dubbo:
|
application:
|
name: location-consumer
|
registry:
|
protocol: zookeeper
|
address: zookeeper://193.112.35.168:2182 # 134.175.68.214 134.175.68.214:2181
|
client: curator
|
protocol:
|
name: dubbo
|
port: 20882
|