server:
|
port: 8084
|
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: lucky
|
authentication-database: admin
|
datasource:
|
url: jdbc:mysql://gz-cdb-r13d0yi9.sql.tencentcdb.com:62929/ks_lucky?&useTimezone=true&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.ks.goldcorn.pojo.DO
|
configuration:
|
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
|
|
redis:
|
host: 193.112.34.40
|
port: 6379
|
password: 'weikou2014'
|
timeout: 5000
|
jedis:
|
pool:
|
max-wait: 10000
|
max-idle: 200
|
max-total: 1024
|
database: 4
|
|
dubbo:
|
application:
|
name: lucky-provider
|
registry:
|
protocol: zookeeper
|
address: zookeeper://192.168.3.136:2181 # 134.175.68.214 134.175.68.214:2181
|
client: curator
|
protocol:
|
name: dubbo
|
port: 20900
|
scan:
|
base-packages: com.ks.lucky.service.impl.remote
|
provider:
|
timeout: 10000
|
xxl:
|
job:
|
accessToken:
|
executor:
|
appname: demo
|
ip:
|
logpath: /data/applogs/xxl-job/jobhandler
|
logretentiondays: -1
|
port: 9999
|
admin:
|
addresses: http://localhost:8081/xxl-job-admin
|
logging:
|
level:
|
com:
|
ks:
|
lucky:
|
mapper: debug
|
org.springframework.data.mongodb.core: DEBUG
|