|
@@ -1,4 +1,5 @@
|
|
|
# 项目相关配置
|
|
|
+server-ip: 192.168.2.102
|
|
|
base:
|
|
|
# 名称
|
|
|
name: base
|
|
@@ -18,16 +19,16 @@ base:
|
|
|
# 摄像头配置
|
|
|
ffmpegPath: /usr/local/ffmpeg/bin/ffmpeg
|
|
|
filePath: /opt/streams/record/flv/
|
|
|
- webUrl: http://124.70.58.209:18812
|
|
|
- bakUrl: http://124.70.58.209:18891
|
|
|
- wsUrl: ws://124.70.58.209:9080
|
|
|
+ webUrl: http://${server-ip}:18812
|
|
|
+ bakUrl: http://${server-ip}:18891
|
|
|
+ wsUrl: ws://${server-ip}:9080
|
|
|
defaultPassword: yn5aq5Mt.106.tky
|
|
|
- imgUrl: http://124.71.171.71:18801/picbucket
|
|
|
+ imgUrl: http://${server-ip}:18801/picbucket
|
|
|
|
|
|
# 开发环境配置
|
|
|
server:
|
|
|
# 服务器的HTTP端口,默认为8080
|
|
|
- port: 18819
|
|
|
+ port: 8080
|
|
|
servlet:
|
|
|
# 应用的访问路径
|
|
|
context-path: /hazard
|
|
@@ -79,9 +80,9 @@ spring:
|
|
|
# redis 配置
|
|
|
redis:
|
|
|
# 地址
|
|
|
- host: 124.71.171.71
|
|
|
+ host: ${server-ip}
|
|
|
# 端口,默认为6379
|
|
|
- port: 18879
|
|
|
+ port: 6379
|
|
|
# 数据库索引
|
|
|
database: 0
|
|
|
# 密码
|
|
@@ -154,20 +155,15 @@ xss:
|
|
|
# 匹配链接
|
|
|
urlPatterns: /system/*,/monitor/*,/tool/*
|
|
|
minio:
|
|
|
- endpoint: http://124.71.171.71:18801 #Minio服务所在地址
|
|
|
+ endpoint: http://${server-ip}:18801 #Minio服务所在地址
|
|
|
bucketName: picbucket #存储桶名称
|
|
|
accessKey: admin #访问的key
|
|
|
secretKey: admin123 #访问的秘钥
|
|
|
-file:
|
|
|
- #头像存储目录
|
|
|
- avatarUrl: /data/service/avatar/
|
|
|
- #文件访问前缀
|
|
|
- filreUrl: http://124.71.171.71:18878
|
|
|
|
|
|
mqtt:
|
|
|
- host: tcp://124.70.58.209:1883
|
|
|
+ host: tcp://${server-ip}:1883
|
|
|
userName: guest
|
|
|
passWord: guest
|
|
|
|
|
|
shot:
|
|
|
- urlAddress: http://124.70.58.209:18891/snap/
|
|
|
+ urlAddress: http://${server-ip}:9080/snap/
|