From 74f675b955abcdadaa556c87fe3ec834c487271b Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期四, 14 十一月 2019 15:59:02 +0800
Subject: [PATCH] fix ret

---
 config/test.yaml |  110 +++++++++++++++++++++++++++++++++++++++++++------------
 1 files changed, 86 insertions(+), 24 deletions(-)

diff --git a/config/test.yaml b/config/test.yaml
index a2d7be2..655231c 100644
--- a/config/test.yaml
+++ b/config/test.yaml
@@ -1,24 +1,86 @@
-runmode: test
-timezone: Asia/Chongqing
-dbLogMode: true
-addr: :8080
-name: albedo
-url: http://127.0.0.1:8080
-redis:
-    host: 127.0.0.1
-    port: 6379
-    password: password
-    db: 1
-db:
-# 鍙�夊�硷細mysql銆乻qlite
-    driver: mysql
-    name: db_apiserver
-    addr: 127.0.0.1:3306
-    username: root
-    password: root
-docker_db:
-    driver: mysql
-    name: db_apiserver
-    addr: 127.0.0.1:3306
-    username: root
-    password: root
+server:
+  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: /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:
+  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
\ No newline at end of file

--
Gitblit v1.8.0