spring:
|
# 希梦本地开发
|
datasource:
|
# 数据库用户名
|
username: root
|
# 数据库密码
|
password: zhxm2512209
|
url: jdbc:mysql://39.103.154.108:2512/xm_dev?useUnicode=true&autoReconnect=true&useSSL=false&characterEncoding=utf8&serverTimezone=Asia/Shanghai
|
type: com.alibaba.druid.pool.DruidDataSource
|
druid:
|
connection-init-sqls: set names utf8mb4
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
redis:
|
host: 39.103.154.108
|
password: zhxm2512209
|
port: 6379
|
database: 0
|
server:
|
port: 20017
|
sandu:
|
jwt:
|
header: Authorization
|
# 令牌前缀
|
token-start-with: Bearer
|
# 必须使用最少88位的Base64对该令牌进行编码
|
base64-secret: U1GZNSKOH43V19GNIVE8HUYM9H86K657V1D66EAVSL9Q023J4JNWE44BNHCS6V9E66BPKF0KXUI5R1ZOYK2OWZZYALPD07JHOYUROL930UGJQUJDNAEYNTMUS27BHKTJEF9011DGGQ4QT9BN6CM2P9SY2VV2MZKJPCOW9YIGN0VJ
|
# 令牌过期时间 此处单位/毫秒 ,可在此网站生成 https://www.convertworld.com/zh-hans/time/milliseconds.html 1个月
|
token-validity-in-seconds: 2629800000
|
# 在线用户key
|
online-key: online-token
|
# 是否启动redis缓存用户信息
|
cache-online: false
|
#************************本地上传文件配置************************
|
upload:
|
#文件服务器路径
|
upload-root-path: D:\file\
|
storage: local
|
#服务器文件前缀
|
real-url: http://localhost/
|
common:
|
urlPrefix: http://localhost/
|
quartz:
|
enable: true
|
|
# MQTT监听
|
listenter:
|
isOpen: true
|
|
minio:
|
endpoint: 47.106.172.9
|
port: 9000
|
accessKey: minioadmin
|
secretKey: zhxm2512209
|
secure: false
|
|
|
# led屏幕服务器地址(更改需要同时更改)
|
realtime-server:
|
# command: http://101.132.131.91:8081/payload/
|
# url: http://101.132.131.91:8081/
|
command: http://112.74.63.130:20018/command/
|
url: http://112.74.63.130:20018/
|
|
|
server-conf:
|
ip: 127.0.0.1 # 47.106.172.9/101.132.131.91
|
|
|
|
nova-conf: #诺瓦回调
|
notify-url: http://39.103.154.108:20018/serv/vnnox/progress
|
screen-shot-notify-url: http://39.103.154.108:20018/serv/vnnox/screenshot
|
status-notify-url: http://39.103.154.108:20018/serv/vnnox/asyncStatus
|
|
#iot产品秘钥
|
iot:
|
access_key: LTAI4G27Af8MZEF55phdMQ4y
|
access_secret: KUc2yOtr7TRB4FuF5Wr0dWeTblbEuh
|
|
#阿里云oss配置
|
oss-conf:
|
end-point: oss-cn-shanghai.aliyuncs.com
|
key-id: LTAI5tPdpt5wvJyLipRijFSP
|
key-secret: 1ahYfCKd0yTddsUnuDLQzI23MLh4VQ
|
bucket-name: ximonsmart
|
|
#新诺瓦
|
new-nova:
|
#依赖地址
|
string-path: D:\file\novaWin\bin\viplexcore.dll
|
#节目生成路径
|
out-put-path: D:\file\temp
|
new-nova-file:
|
upload:
|
#文件服务器路径
|
upload-root-path: D:\file\
|
storage: local
|
#服务器文件前缀
|
file-url: http://192.168.0.12:20017/file/
|
#诺瓦截屏存放路径 文件夹必须存在 且是服务器文件路径(upload-root-path)下的子文件夹
|
screen-shot-path: D:\file\screenShot\
|
|
|
|
customer:
|
mqtt:
|
broker: tcp://127.0.0.1:1883
|
clientList:
|
#客户端ID
|
- clientId: java_server_msg
|
#监听主题
|
subscribeTopic: v1/devices/response/+
|
#用户名
|
userName: server_admin
|
#密码
|
password: zhxm2512209
|
#下发主题
|
publishTopic: v1/devices/request/
|
#监听上下线
|
- clientId: java_server_status
|
#监听主题
|
subscribeTopic: $SYS/brokers/+/clients/#
|
#用户名
|
userName: server_admin
|
#密码
|
password: zhxm2512209
|
#下发主题
|
publishTopic: v1/devices/request/
|