You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
902 B
YAML

#端口号
server:
port: 8098
#数据源配置
spring:
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/cac?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&connectTimeout=60000&socketTimeout=60000
username: root
password: root
jpa:
show-sql: false
open-in-view: false
mvc:
format:
date: yyyy-MM-dd HH:mm:ss
pathmatch:
matching-strategy: ant_path_matcher
mybatis:
configuration:
map-underscore-to-camel-case: true
mqtt:
publish:
clientid: publish_client
subscribe:
clientid: subscribe_client
broker: tcp://10.0.17.30:10883
topic: external/data
username: dianqi
password: 123456Qa%
qos: 0
logging:
level:
root: info
com:
xydl: debug
file:
name: /home/xydl/mqtt/logs/mqtt.log