# 生产环境配置 server: port: 8887 servlet: context-path: / tomcat: uri-encoding: UTF-8 accept-count: 100 threads: max: 200 min-spare: 20 # 日志配置 logging: level: com.iot.platform: info com.iot.platform.mapper: info org.springframework: warn # Spring配置 spring: profiles: active: druid servlet: multipart: max-file-size: 10MB max-request-size: 20MB devtools: restart: enabled: false redis: host: localhost port: 6379 database: 0 password: ${REDIS_PASSWORD:} timeout: 10s lettuce: pool: min-idle: 4 max-idle: 16 max-active: 16 max-wait: 5s # MyBatis配置 mybatis: typeAliasesPackage: com.iot.platform.domain mapperLocations: classpath*:mapper/**/*Mapper.xml # PageHelper分页插件 pagehelper: helperDialect: mysql supportMethodsArguments: true params: count=countSql # Actuator 配置 management: endpoints: web: exposure: include: health endpoint: health: show-details: never # IoT平台配置 iot: mqtt: broker-url: tcp://47.104.204.180:1883 username: ${MQTT_USERNAME:} password: ${MQTT_PASSWORD:} charge-station-topic: ${MQTT_CHARGE_STATION_TOPIC:station/ChargeStation/device/+/post/json} tdengine: url: jdbc:TAOS://127.0.0.1:6031/ username: ${TDENGINE_USERNAME:} password: ${TDENGINE_PASSWORD:}