2020-05-07 21:55:45 +08:00
|
|
|
|
spring:
|
|
|
|
|
application:
|
2020-05-10 22:33:21 +08:00
|
|
|
|
name: iot-vmp-vmanager
|
|
|
|
|
# 影子数据存储方式,支持redis、jdbc
|
2020-05-07 21:55:45 +08:00
|
|
|
|
database: redis
|
2020-05-10 22:33:21 +08:00
|
|
|
|
# 通信方式,支持kafka、http
|
|
|
|
|
communicate: http
|
2020-09-25 17:55:32 +08:00
|
|
|
|
redis:
|
2020-05-07 21:55:45 +08:00
|
|
|
|
# Redis服务器IP
|
2020-09-25 17:22:22 +08:00
|
|
|
|
host: 192.168.1.141
|
2020-05-07 21:55:45 +08:00
|
|
|
|
#端口号
|
|
|
|
|
port: 6379
|
2020-09-25 17:22:22 +08:00
|
|
|
|
database: 6
|
2020-05-07 21:55:45 +08:00
|
|
|
|
#访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接
|
2020-09-25 17:55:32 +08:00
|
|
|
|
password:
|
2020-05-07 21:55:45 +08:00
|
|
|
|
#超时时间
|
|
|
|
|
timeout: 10000
|
|
|
|
|
datasource:
|
2020-05-10 22:33:21 +08:00
|
|
|
|
name: eiot
|
2020-09-25 17:22:22 +08:00
|
|
|
|
url: jdbc:mysql://192.168.1.141:3306/eiot?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true
|
2020-09-25 17:55:32 +08:00
|
|
|
|
username:
|
|
|
|
|
password:
|
2020-05-07 21:55:45 +08:00
|
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
|
|
server:
|
2020-09-25 17:22:22 +08:00
|
|
|
|
port: 18080
|
2020-05-07 21:55:45 +08:00
|
|
|
|
sip:
|
2020-06-09 15:39:51 +08:00
|
|
|
|
# ip: 10.200.64.63
|
2020-09-25 17:22:22 +08:00
|
|
|
|
ip: 192.168.1.20
|
2020-05-07 21:55:45 +08:00
|
|
|
|
port: 5060
|
2020-05-10 22:33:21 +08:00
|
|
|
|
# 根据国标6.1.2中规定,domain宜采用ID统一编码的前十位编码。国标附录D中定义前8位为中心编码(由省级、市级、区级、基层编号组成,参照GB/T 2260-2007)
|
|
|
|
|
# 后两位为行业编码,定义参照附录D.3
|
|
|
|
|
# 3701020049标识山东济南历下区 信息行业接入
|
|
|
|
|
domain: 3701020049
|
2020-05-14 09:22:30 +08:00
|
|
|
|
id: 37010200492000000001
|
2020-05-10 22:33:21 +08:00
|
|
|
|
# 默认设备认证密码,后续扩展使用设备单独密码
|
2020-09-25 17:22:22 +08:00
|
|
|
|
password: 12345678
|
2020-05-07 21:55:45 +08:00
|
|
|
|
media:
|
2020-06-09 15:39:51 +08:00
|
|
|
|
# ip: 10.200.64.88
|
2020-09-25 17:22:22 +08:00
|
|
|
|
ip: 192.168.1.20
|
|
|
|
|
port: 10000
|
|
|
|
|
|
|
|
|
|
# 自定义代理相关配置
|
|
|
|
|
# 代理的本地路由
|
|
|
|
|
proxy:
|
|
|
|
|
servlet_url: /media/*
|
|
|
|
|
# 要代理的地址
|
|
|
|
|
target_url: http://127.0.0.1:10080
|
|
|
|
|
|
|
|
|
|
auth: #32位小写md5加密(默认密码为admin)
|
|
|
|
|
username: admin
|
|
|
|
|
password: 21232f297a57a5a743894a0e4a801fc3
|