liuxiaolong
2019-08-21 de47fb2038784b9f964d0d7dc85d555d6e066897
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、sqlite
    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