spring:
|
application:
|
name: device-center
|
datasource:
|
driver-class-name: com.mysql.jdbc.Driver
|
url: jdbc:mysql://192.168.1.173:3306/fs_device?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
|
username: root
|
password: c++java123
|
hikari:
|
minimum-idle: 5
|
maximum-pool-size: 20
|
connection-test-query: SELECT 1
|
redis:
|
host: 192.168.1.173
|
port: 6379
|
timeout: 5000
|
lettuce:
|
pool:
|
min-idle: 0
|
max-idle: 8
|
max-active: 8
|
max-wait: -1
|
servlet:
|
multipart:
|
max-file-size: 100MB
|
max-request-size: 100MB
|
mvc:
|
servlet:
|
load-on-startup: 1
|
aop:
|
proxy-target-class: true
|
|
mybatis:
|
type-aliases-package: com.cloud.device.model
|
mapper-locations: classpath:/mybatis-mappers/*
|
configuration:
|
mapUnderscoreToCamelCase: true
|
server:
|
port: 3696
|
imgHttpUrl:
|
URLSTR: http://192.168.1.182:8888/ #获取服务器图片的地址
|
logging:
|
level:
|
root: info
|
com.cloud.device.dao: error
|
file: logs/${spring.application.name}.log
|
es:
|
es_network_host: 192.168.1.182
|
es_network_http_port: 9200
|
c_server:
|
port: 11111
|
fdfsImgUrl:
|
server: http://192.168.1.182:80/
|
ffmpeg: ffmpeg
|
# C:\\Users\\25135\\Desktop\\
|
ffmpegSaveJpgUrl: test.jpg
|
cameraPort: 554
|
loginData:
|
redUrl: 192.168.1.182
|
redPort: 3694
|
#fastdfs配置
|
fdfs:
|
so-timeout: 1500
|
connect-timeout: 600
|
thumb-image:
|
width: 150
|
height: 150
|
tracker-list:
|
- 192.168.1.182:22122
|