qixiaoning
2025-08-08 ef51da5404827e826e979ad614950a9e0192f4c6
config/pro.yaml
@@ -1,42 +1,32 @@
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
    analyServerId: DSVAD202505139F8038
    networkAdapter: enp6s0
    #脚本目录
    scriptPath: /opt/vasystem/script
    #设备编号
    deviceNum: 001
    #设备型号
    deviceModel: Bsk-JS1000N
    deviceModel: BSK-JS1000X
    #设备型号
    deviceType: DS0104322264020416
    deviceType: DS0301322264020416
    deviceDesc: 分析/存储设备1
    #设备序列号
    deviceSerialNum: 01
    #主控版本
    masterVersion: V1.0.0
    masterVersion: V1.0.0.0
    #web版本
    webVersion: 2.0
    webVersion: 2.0
    #通道个数
    channelCount: 0
    #硬盘个数
    diskCount: 2
    #Exec root command
    sudoPassword: basic2021
    sudoPassword: 123
    rtspUnique: false
    sysThresholds:
    - value: 60
      color: '#13ce66'
@@ -49,34 +39,78 @@
    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: /files/voices/1.mp3
    - id: 2
      path: /home/basic/files/1.mp3
    - id: 2
      name: 2.mp3
      path: /files/voices/2.mp3
      path: /home/basic/files/2.mp3
    - id: 3
      name: 3.mp3
      path: /files/voices/3.mp3
      path: /home/basic/files/3.mp3
    - id: 4
      name: 4.mp3
      path: /files/voices/4.mp3
      path: /home/basic/files/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
      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:
    mountPoint: ["data"]
    #同analyServerId
    id: DSVAD20230919AC63EC
    #文件服务挂载点
    mountPoint: ["/data/disk1/"]
    #文件服务存储路径
    volumePath: ["/data/disk2/seaweedfs/data/volume"]
    volumePath: ["/data/disk1/seaweedfs/data/volume"]
    #清理阈值
    threshold: 85
    #文件服务端口--用做指定服务端口任务控制
@@ -93,85 +127,42 @@
        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:
fileDb:
    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
    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
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
    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
ruletrack:
    timeout_seconds: 86400
    movepos: 1
#通用配置
LogBasePath: /opt/vasystem/valog/
LogLevel: 5
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