#spring
|
spring:
|
datasource:
|
url: jdbc:mysql://182.108.40.114:3308/drone_zt_test?useSSL=false&allowPublicKeyRetrieval=true
|
username: root
|
password: yshb@123
|
# url: jdbc:mysql://192.168.2.104:3306/drone_test?useSSL=false&allowPublicKeyRetrieval=true
|
# username: root
|
# password: 123456
|
|
redis:
|
host: 127.0.0.1
|
port: 6379
|
database: 0
|
username: # if you enable
|
password:
|
lettuce:
|
pool:
|
max-active: 8
|
max-idle: 8
|
min-idle: 0
|
|
rabbitmq:
|
host: 182.108.40.114
|
port: 35672
|
username: root
|
password: root
|
virtualHost: /
|
is-open: false
|
|
|
jwt:
|
issuer: DJI
|
subject: CloudApiSample
|
secret: CloudApiSample
|
age: 86400
|
|
mqtt:
|
# @see com.dji.sample.component.mqtt.model.MqttUseEnum
|
# BASIC parameters are required.
|
BASIC:
|
protocol: MQTT # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
|
host: 139.196.74.78
|
port: 1883
|
username: manage
|
password: 123456
|
# host: 127.0.0.1
|
# port: 1883
|
# username: guest
|
# password: guest
|
client-id: manage_drone
|
# If the protocol is ws/wss, this value is required.
|
path:
|
# 最初连接到mqtt时需要订阅的主题 多个订阅用 "," .
|
inbound-topic: sys/product/+/status,thing/product/+/requests,thing/product/+/osd
|
# inbound-topic: sys/product/+/+,thing/product/+/+
|
DRC:
|
protocol: WS # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
|
host: 139.196.74.78
|
port: 8083
|
path: /mqtt
|
|
oss:
|
enable: true
|
provider: minio
|
endpoint: http://dev.jxpskj.com:9000
|
external-endpoint: http://dev.jxpskj.com:9000
|
access-key: pskj
|
secret-key: pskj@2021
|
bucket: cloud-bucket
|
expire: 3600
|
region: us-east-1
|
object-dir-prefix:
|
out-net-file-address: http://dev.jxpskj.com:9000
|