qixiaoning
2025-08-08 ef51da5404827e826e979ad614950a9e0192f4c6
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
server:
    runmode: debug
    jwtSecret: BASIC
    jwtExpire: 24
    url: http://127.0.0.1:8080
    analyServerId: DSVAD202505139F8038
    networkAdapter: enp6s0
    #脚本目录
    scriptPath: /opt/vasystem/script
    #设备编号
    deviceNum: 001
    #设备型号
    deviceModel: BSK-JS1000X
    #设备型号
    deviceType: DS0301322264020416
    deviceDesc: 分析/存储设备1
    #设备序列号
    deviceSerialNum: 01
    #主控版本
    masterVersion: V1.0.0.0
    #web版本
    webVersion: 2.0
    #通道个数
    channelCount: 0
    #硬盘个数
    diskCount: 2
    #Exec root command
    sudoPassword: 123 
    rtspUnique: false
    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
    headpics: ["none"]
    langs:
    - name: "简体中文"
      lang: "zh_CN.UTF-8"
      language: "zh_CN:zh"
    - name: "英语"
      lang: "en_US.UTF-8"
      language: "en_US:en"
    - name: "繁体中文(香港)"
      lang: "zh_HK.UTF-8"
      language: "zh_HK:zh"
    voices:
    - id: 1
      name: 1.mp3
      path: /home/basic/files/1.mp3
    - id: 2
      name: 2.mp3
      path: /home/basic/files/2.mp3
    - id: 3
      name: 3.mp3
      path: /home/basic/files/3.mp3
    - id: 4
      name: 4.mp3
      path: /home/basic/files/4.mp3
    - id: 5
      name: 5.mp3
      path: /home/basic/files/5.mp3
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
facedetect:
    ip: 127.0.0.1
    port: 4009
dbpersoncompare:
    ip: 127.0.0.1
    port: 4010
espersoncompare:
    port: 4011
    ips:
    - 127.0.0.1
weedfs:
    port: 6333
es:
    port: 9200
    shards: 1,2
    index:
      aiOcean:
        index: ai_ocean
        type: analysisModel
    thresholdTime: 10
    thresholdStayTime: 0
    storePath:
      - /data3/elasticsearch
#循环覆盖---------------------------------------------------------------------------------------------#
storage:
    #同analyServerId
    id: DSVAD20230919AC63EC 
    #文件服务挂载点
    mountPoint: ["/data/disk1/"]
    #文件服务存储路径
    volumePath: ["/data/disk1/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: sqlite
    filepath: /opt/vasystem/config/file-service.db
file-service:
    savePath: /opt/vasystem/files
shop:
    url: 127.0.0.1:7004
saas:
    url: 192.168.20.117:7080
ruletrack:
    timeout_seconds: 30
    target_box: 1
    jitter_buffer: 300
#so配置
sopath:
    ip: 192.168.1.182
    port: 8008
#通用配置
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
 
SenderFreq: 1000 
 
#so配置
trace:
    useBlockList: 1