zhangzengfei
2023-09-04 e8e536d1cb52d2126c8c7ce2ba1c7a76f7208678
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
server:
    serverName: "SmartAI"
    runmode: debug
    jwtSecret: BASIC
    jwtExpire: 24
    url: http://127.0.0.1:8080
    analyServerId: DSPAD010120211015235820
    networkAdapter: eth0 
#循环覆盖---------------------------------------------------------------------------------------------#
    #es服务IP  仅在公司测试环境使用,线上勿配置
    esServerIp: 192.168.8.118
    #es服务端口  仅在公司测试环境使用,线上勿配置
    esServerPort: 9200
#---------------------------------------------------------------------------------------------循环覆盖#
    #并行线程进制
    coreBaseUnit: 100
    #超时时间
    timeOut: 2
    #脚本目录
    scriptPath: /opt/vasystem/script
    #设备编号
    deviceNum: 001
    #设备型号
    deviceModel: Bsk-JS1000N
    #设备型号
    deviceType: DS0104322264020416 
    deviceDesc: 分析/存储设备1
    #设备序列号
    deviceSerialNum: 01
    #主控版本
    masterVersion: V1.0.0 
    #web版本
    webVersion: 2.0 
    #通道个数
    channelCount: 0
    #硬盘个数
    diskCount: 2
    #Exec root command
    sudoPassword: basic2021 
    sysThresholds:
    - value: 60
      color: '#13ce66'
    - value: 80
      color: '#FF9C4A'
    - value: 95
      color: '#f53d3d'
    - value: 100
      color: '#5d0000'
    licensePath: /opt/vasystem/licence.inc
    lKey: flzxsqc,ysyhljt.
    lPublicKeyPath: /opt/vasystem/public.pem
    voices:
    - id: 1
      name: 1.mp3
      path: /files/voices/1.mp3
    - id: 2 
      name: 2.mp3
      path: /files/voices/2.mp3
    - id: 3
      name: 3.mp3
      path: /files/voices/3.mp3
    - id: 4
      name: 4.mp3
      path: /files/voices/4.mp3
    - id: 5
      name: 5.mp3
      path: /files/voices/5.mp3
    - id: lineup 
      name: 请有序排队,不要拥挤
      path: /files/voices/lineup.mp3
    - id: warningArea 
      name: 警戒区域,尽快离开 
      path: /files/voices/warningArea.wav
#循环覆盖---------------------------------------------------------------------------------------------#
storage:
    mountPoint: ["data"]
    #文件服务存储路径
    volumePath: ["/data/disk2/seaweedfs/data/volume"]
    #清理阈值
    threshold: 85
    #文件服务端口--用做指定服务端口任务控制
    port: ["6700"]
    #文件服务启动脚本路径
    binPath: /opt/vasystem/script
elastic:
    #es表
    aiOcean:
        indexName: ai_ocean
        indexType: analysisModel
    #卷表
    basicFS:
        indexName: basicfs
        indexType: clearItem
#---------------------------------------------------------------------------------------------循环覆盖#
fileDb:                                                                                                                                                                                                             
  driver: sqlite
  name: sqlite3
  filepath: /opt/vasystem/config/file-service.db
file-service:
  savePath: /opt/vasystem/files
shop:
  url: apps.smartai.com:7004
database:
    driver: sqlite
    name: sqlite3
    filepath: /opt/vasystem/config/testdb.db
cluster:
    pwdpre: bjbasic123
    #serf snapshot文件的完整路径,serfSnapShot是个文件
    serfsnapshotpath: /opt/vasystem/serfSnapShot
    # 内部集群配置
    # 集群内部端口
    port: 7081
    # 集群心跳间隔
    heartBeat: 15
    # saas服务上报地址
    saasReportUrl: 192.168.20.117:7081
 
saas:
  url: 192.168.20.117:7080
 
facedetect:
    ip: 127.0.0.1
    port: 4009
dbpersoncompare:
    ip: 127.0.0.1
    port: 4010
espersoncompare:
    port: 4011
    ips:
    - 127.0.0.1
redis:
    host: 127.0.0.1
    port: 6379
    password: password
    db: 1
es:
    shards: 1,2
    index:
        # 人脸抓拍记录
        videopersons:
            index: videopersons
            type: perVideoPicture
        # 行为抓拍记录*
        personaction:
            index: personaction
            type: perVideoAction
        aiocean:
            index: ai_ocean
            type: analysisModel
    thresholdTime: 10
    thresholdStayTime: 0
#so配置
sopath:
    ip: 192.168.1.182
    port: 8008
ruletrack:
    timeout_seconds: 86400
    movepos: 1
 
#通用配置
LogBasePath: /opt/vasystem/valog/
LogLevel: 5 
log:
    path: /opt/vasystem/valog/
    level: -1
    maxSize: 128
    maxBackups: 30
    maxAge: 15
 
#推流
MaxStreamsNum: 16
LibFfmpegPath: /opt/vasystem/libs/libcffmpeg-capture.so
VideoPublishWidth: 960
VideoPublishHeight: 640
VideoPublishPort: 10101