添加开发环境下worker节点的运行实例

This commit is contained in:
陈景阳
2019-08-01 09:22:23 +08:00
parent 2947f0327b
commit 5853af8b4c
6 changed files with 87 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
mongo:
host: 127.0.0.1
port: 27017
db: crawlab_test
username: ""
password: ""
redis:
address: 127.0.0.1
password: ""
database: 1
port: 6379
log:
level: info
path: "/opt/crawlab/logs"
server:
host: 0.0.0.0
port: 8000
master: "N"
secret: "crawlab"
spider:
path: "/opt/crawlab/spiders"
task:
workers: 4
other:
tmppath: "/tmp"