liuxiaolong
2019-11-14 74f675b955abcdadaa556c87fe3ec834c487271b
config/test.yaml
@@ -1,51 +1,86 @@
server:
    runmode: debug
    jwtSecret: BASIC
    jwtExpire: 24
    url: http://127.0.0.1:8080
    imageUrl: http://192.168.1.203:6080
    publicDomain: http://192.168.1.203
    networkAdapter: enp8s0
facedetect:
    url: 127.0.0.1:4009
dbpersoncompare:
    url: 127.0.0.1:4010
espersoncompare:
    url:
    - 127.0.0.1:4011
weedfs:
    ip: 192.168.1.203
    uploadport: 6333
    visitport: 6080
redis:
    host: 127.0.0.1
    port: 6379
    password: password
    db: 1
  runmode: debug
  jwtSecret: BASIC
  jwtExpire: 24
  url: http://127.0.0.1:8080
  analyServerId: DSVAD010120190703
  networkAdapter: enp8s0
  #设备编号
  deviceNum: 001
  #设备型号
  deviceType: 分析设备
  #设备序列号
  deviceSerialNum: 01
  #主控版本
  masterVersion: 1
  #web版本
  webVersion: 2.0
  #通道个数
  channelCount: 0
  #硬盘个数
  diskCount: 2
  #Exec root command
  sudoPassword: 123
  sysThresholds:
  -
    value: 60
    color: '#13ce66'
  -
    value: 80
    color: '#FF9C4A'
  -
    value: 95
    color: '#f53d3d'
  -
    value: 100
    color: '#5d0000'
  ptzSpeed: 50
database:
    driver: sqlite
    name: sqlite3
    filepath: config/testdb
# es 数据 索引 以及 ip 端口 配置
  driver: sqlite
  name: sqlite3
  filepath: /opt/vasystem/config/testdb.db
cluster:
  pwdpre: bjbasic123
facedetect:
  ip: 127.0.0.1
  port: 4009
dbpersoncompare:
  ip: 127.0.0.1
  port: 4010
espersoncompare:
  port: 4011
  ips:
  - 127.0.0.1
es:
    masterip: 192.168.1.182
    httpport: 9200
    index:
        # 人脸抓拍记录
        videopersons:
            index: videopersons
            type: perVideoPicture
        # 底库 列表
        dbtables:
            index: dbtables
            type: dbpersontables
        # 底库人员库
        dbtablepersons:
            index: dbtablepersons
            type: dbpersons
        # 行为抓拍记录*
        personaction:
            index: personaction
            type: perVideoAction
  shards: 1,2,3
  index:
    # 人脸抓拍记录
    videopersons:
      index: videopersons
      type: perVideoPicture
    # 底库 列表
    dbtables:
      index: dbtables
      type: dbpersontables
    # 底库人员库
    dbtablepersons:
      index: dbtablepersons
      type: dbpersons
    # 行为抓拍记录*
    personaction:
      index: personaction
      type: perVideoAction
#so配置
sopath:
  ip: 192.168.1.182
  port: 8008
#通用配置
LogBasePath: /opt/vasystem/logs/
LogLevel: 5
MaxStreamsNum: 16
#推流
LibFfmpegPath: /opt/vasystem/bin/libcffmpeg.so
VideoPublishWidth: 960
VideoPublishHeight: 640
VideoPublishPort: 10101