From de47fb2038784b9f964d0d7dc85d555d6e066897 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期三, 21 八月 2019 18:46:39 +0800
Subject: [PATCH] fix test.yaml

---
 config/test.yaml |   63 ++++++++++++++++++++++---------
 1 files changed, 44 insertions(+), 19 deletions(-)

diff --git a/config/test.yaml b/config/test.yaml
index a2d7be2..cd8dca9 100644
--- a/config/test.yaml
+++ b/config/test.yaml
@@ -1,24 +1,49 @@
-runmode: test
-timezone: Asia/Chongqing
-dbLogMode: true
-addr: :8080
-name: albedo
-url: http://127.0.0.1:8080
+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
+dbpersoncompare:
+    url: 127.0.0.1:40010
+espersoncompare:
+    url:
+    - 127.0.0.1:40011
+weedfs:
+    ip: 192.168.1.203
+    uploadport: 6333
+    visitport: 6080
 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
+database:
+    driver: sqlite
+    name: sqlite3
+    filepath: config/testdb
+# es 鏁版嵁 绱㈠紩 浠ュ強 ip 绔彛 閰嶇疆
+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
+
+

--
Gitblit v1.8.0