|
|
@@ -1,6 +1,8 @@
|
|
|
server:
|
|
|
port: 6789
|
|
|
spring:
|
|
|
+ profiles:
|
|
|
+ active: prd
|
|
|
main:
|
|
|
allow-bean-definition-overriding: true
|
|
|
application:
|
|
|
@@ -9,7 +11,7 @@ spring:
|
|
|
druid:
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
- url: jdbc:mysql://cloud_api_sample_mysql:3306/cloud_sample?useSSL=false&allowPublicKeyRetrieval=true
|
|
|
+ url: jdbc:mysql://localhost:3306/cloud_sample?useSSL=false&allowPublicKeyRetrieval=true
|
|
|
username: root
|
|
|
password: root
|
|
|
initial-size: 10
|
|
|
@@ -18,7 +20,7 @@ spring:
|
|
|
max-wait: 60000
|
|
|
|
|
|
redis:
|
|
|
- host: cloud_api_sample_redis
|
|
|
+ host: localhost
|
|
|
port: 6379
|
|
|
database: 0
|
|
|
username: # if you enable
|
|
|
@@ -45,19 +47,19 @@ mqtt:
|
|
|
# BASIC parameters are required.
|
|
|
BASIC:
|
|
|
protocol: MQTT # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
|
|
|
- host: Please enter your ip.
|
|
|
+ host: xia0miduo.gicp.net
|
|
|
port: 1883
|
|
|
- username: JavaServer
|
|
|
+ username: mqttUser
|
|
|
password: 123456
|
|
|
- client-id: 123456
|
|
|
+ client-id: hqjiang
|
|
|
# If the protocol is ws/wss, this value is required.
|
|
|
path:
|
|
|
DRC:
|
|
|
protocol: WS # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
|
|
|
- host: Please enter your ip.
|
|
|
+ host: xia0miduo.gicp.net
|
|
|
port: 8083
|
|
|
path: /mqtt
|
|
|
- username: JavaServer
|
|
|
+ username: mqttUser
|
|
|
password: 123456
|
|
|
|
|
|
cloud-sdk:
|
|
|
@@ -86,18 +88,18 @@ url:
|
|
|
version: /api/v1
|
|
|
|
|
|
# Tutorial: https://www.alibabacloud.com/help/en/object-storage-service/latest/use-a-temporary-credential-provided-by-sts-to-access-oss
|
|
|
-oss:
|
|
|
- enable: false
|
|
|
- provider: ALIYUN # @see com.dji.sample.component.OssConfiguration.model.enums.OssTypeEnum
|
|
|
- endpoint: https://oss-cn-hangzhou.aliyuncs.com
|
|
|
- access-key: Please enter your access key.
|
|
|
- secret-key: Please enter your secret key.
|
|
|
- expire: 3600
|
|
|
- region: Please enter your oss region. # cn-hangzhou
|
|
|
- role-session-name: cloudApi
|
|
|
- role-arn: Please enter your role arn. # acs:ram::123456789:role/stsrole
|
|
|
- bucket: Please enter your bucket name.
|
|
|
- object-dir-prefix: Please enter a folder name.
|
|
|
+#oss:
|
|
|
+# enable: false
|
|
|
+# provider: ALIYUN # @see com.dji.sample.component.OssConfiguration.model.enums.OssTypeEnum
|
|
|
+# endpoint: https://oss-cn-hangzhou.aliyuncs.com
|
|
|
+# access-key: Please enter your access key.
|
|
|
+# secret-key: Please enter your secret key.
|
|
|
+# expire: 3600
|
|
|
+# region: Please enter your oss region. # cn-hangzhou
|
|
|
+# role-session-name: cloudApi
|
|
|
+# role-arn: Please enter your role arn. # acs:ram::123456789:role/stsrole
|
|
|
+# bucket: Please enter your bucket name.
|
|
|
+# object-dir-prefix: Please enter a folder name.
|
|
|
|
|
|
#oss:
|
|
|
# enable: true
|
|
|
@@ -112,16 +114,16 @@ oss:
|
|
|
# bucket: cloudapi-bucket
|
|
|
# object-dir-prefix: wayline
|
|
|
|
|
|
-#oss:
|
|
|
-# enable: true
|
|
|
-# provider: minio
|
|
|
-# endpoint: http://192.168.1.1:9000
|
|
|
-# access-key: minioadmin
|
|
|
-# secret-key: minioadmin
|
|
|
-# bucket: cloud-bucket
|
|
|
-# expire: 3600
|
|
|
-# region: us-east-1
|
|
|
-# object-dir-prefix: wayline
|
|
|
+oss:
|
|
|
+ enable: true
|
|
|
+ provider: minio
|
|
|
+ endpoint: http://xia0miduo.gicp.net:9000
|
|
|
+ access-key: fileadmin
|
|
|
+ secret-key: fileadmin
|
|
|
+ bucket: dji-bucket
|
|
|
+ expire: 3600
|
|
|
+ region: us-east-1
|
|
|
+ object-dir-prefix: wayline
|
|
|
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -136,9 +138,9 @@ ntp:
|
|
|
# To create a license for an application: https://developer.dji.com/user/apps/#all
|
|
|
cloud-api:
|
|
|
app:
|
|
|
- id: Please enter the app id.
|
|
|
- key: Please enter the app key.
|
|
|
- license: Please enter the app license.
|
|
|
+ id: 146815
|
|
|
+ key: 7c9e9108f2ddcbab32d2b508f452151
|
|
|
+ license: ZK7Dzih4Qc9JCZhDiyDsWJwTW+1rhnnzT1SqDxbdSPVV24bbDC4r1KNjXo7tIPBnPne7ipnXeefP0lJ0OHvxMpkKiag5lFCIndKSvYYdQkyScT3dahCXjmYsd0YyWyHj4tvXoR2DRVq1PdBHLB1iUo2FGLCIZ8QHbGyqglyGdHY=
|
|
|
|
|
|
livestream:
|
|
|
url:
|
|
|
@@ -157,14 +159,14 @@ livestream:
|
|
|
port: 8554
|
|
|
|
|
|
# GB28181 Note:If you don't know what these parameters mean, you can go to Pilot2 and select the GB28181 page in the cloud platform. Where the parameters same as these parameters.
|
|
|
- gb28181:
|
|
|
- serverIP: Please enter the server ip.
|
|
|
- serverPort: Please enter the server port.
|
|
|
- serverID: Please enter the server id.
|
|
|
- agentID: Please enter the agent id.
|
|
|
- agentPassword: Please enter the agent password.
|
|
|
- localPort: Please enter the local port.
|
|
|
- channel: Please enter the channel.
|
|
|
+# gb28181:
|
|
|
+# serverIP: Please enter the server ip.
|
|
|
+# serverPort: Please enter the server port.
|
|
|
+# serverID: Please enter the server id.
|
|
|
+# agentID: Please enter the agent id.
|
|
|
+# agentPassword: Please enter the agent password.
|
|
|
+# localPort: Please enter the local port.
|
|
|
+# channel: Please enter the channel.
|
|
|
|
|
|
# Webrtc: Only supports using whip standard
|
|
|
whip:
|