Files
crawlab/backend/conf/config.yml
2020-01-07 00:53:18 +08:00

41 lines
741 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
api:
address: "localhost:8000"
mongo:
host: "192.168.235.26"
port: 27017
db: crawlab_local
username: "root"
password: "example"
authSource: "admin"
redis:
address: 127.0.0.1
password:
database: 1
port: 6379
log:
level: info
path: "./logs/crawlab"
isDeletePeriodically: "N"
deleteFrequency: "@hourly"
server:
host: 0.0.0.0
port: 8001
master: "Y"
secret: "crawlab"
register:
# mac地址 或者 ip地址如果是ip则需要手动指定IP
type: "mac"
ip: ""
lang: # 安装语言环境, Y 为安装N 为不安装,只对 Docker 有效
python: "Y"
node: "N"
spider:
path: "./spiders"
task:
workers: 4
other:
tmppath: "/tmp"
version: 0.4.3
setting:
allowRegister: "N"