zhangzengfei
2024-07-03 cabaf90c4d08a8ba3a1dea12a6aa87683bbcca81
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
# web 服务配置
serve:
  # 设定模式(debug/release/test,正式版改为release)
  id: "12312312315031231233"
  mode: "debug"
  port: "1400"
  host: "192.168.20.119"
  username: "admin"
  password: "Aa123456"
  realm: "Basic Realm"
  role: "cascade"
 
client:
  enable: true
  device-id: "12312312315031200003"
  username: "12312312315031200003"
  password: "123456"
  server-addr: "192.168.20.189"
  server-port: 1400
  proto: http
  upload-type: binary
  channel-number: "12312312315031200003"
  heartbeat-interval: 30
  heartbeat-count: 3
  add-floor-faceId: false
 
nvcs:
  model: ""
  port : ""
# 日志配置
log:
  path: logs
  level: debug
  max-age: 15
 
# 外部服务
forward:
  sync-server: "http://192.168.20.119:9696/api-a/device/alarm"
  report-server: "http://192.168.20.119:8007/data/api-v/device/inputData"
  report-interval: 30
  retry-interval: 10
 
image:
  cut-face-image: false
  enlarge: 100
 
# 令牌桶限流配置
rate-limit:
  # 填充一个令牌需要的时间间隔,毫秒
  fill-interval: 50
  # 桶容量
  capacity: 200