dji_demo/target/classes/application.yml

62 lines
1.7 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

server:
servlet:
context-path: /
port: 9999
spring:
application:
name: provider
#MQTT配置信息
mqtt:
#MQTT服务地址端口号默认11883如果有多个用逗号隔开
url: tcp://58.213.148.44:1883
#用户名
username: admin
#密码
password: admin##123
#客户端id(不能重复)
client:
id: airport_
#MQTT默认的消息推送主题实际可在调用接口是指定
default:
topic: topic
newUrl: 58.213.148.44:1883
# djiClientId: airport_dji_mqtt
# mqtt:
# onlineUrl: http://101.133.163.127:18083
# #MQTT服务地址端口号默认11883如果有多个用逗号隔开
# url: tcp://101.133.163.127:1883
# #用户名
# username: admin
# #密码
# password: admin##123
# #客户端id(不能重复)
# client:
# id: provider-id
# #MQTT默认的消息推送主题实际可在调用接口是指定
# default:
# topic: topic
# newClient:
# id: DJIprovider-id
# newUrl: 106.15.64.139:1883
# djiClientId: airport_dji_mqtt
redis:
# 缓存库默认索引0
database: 9
# Redis服务器地址
host: 127.0.0.1
# Redis服务器连接端口
port: 6379
# Redis服务器连接密码默认为空
password:
# 连接超时时间(毫秒)
timeout: 30000
# 默认的数据过期时间主要用于shiro权限管理
expire: 2592000
jedis:
pool:
max-active: 1000 # 连接池最大连接数(使用负值表示没有限制)
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
max-idle: 10 # 连接池中的最大空闲连接
min-idle: 1 # 连接池中的最小空闲连接