tiandy-service/src/main/resources/application.yml

35 lines
1000 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

server:
port: 12117
spring:
#数据库配置
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://rm-wz9n28sq10rz5b0u2o.mysql.rds.aliyuncs.com:3306/shareddata?characterEncoding=utf8&useSSL=false&zeroDateTimeBehavior=convertToNull&useInformationSchema=true&serverTimezone=GMT%2B8&autoReconnect=true
username: shareddata
password: SharedData_890
servlet:
multipart:
max-file-size: 100MB
max-request-size: 100MB
#jpa配置
jpa:
properties:
hibernate:
dialect: org.hibernate.dialect.DmDialect
logging:
# level:
# org.springframework.boot.autoconfigure: error #spring的自动装配日志只打error否则debug输出的会打印很多自动装配的log信息到控制台
# com.whdc.zhzmkzapi.mapper: error
config: classpath:logback-spring.xml
mybatis:
mapper-locations: classpath:mapper/*.xml
mqtt:
broker: tcp://120.24.5.249:3189
clientId: mqttx_c4d1c22b
enableMqttListening: true
offlineThreshold: 24