mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
33 lines
517 B
YAML
33 lines
517 B
YAML
api:
|
||
address: "localhost:8000"
|
||
mongo:
|
||
host: localhost
|
||
port: 27017
|
||
db: crawlab_test
|
||
username: ""
|
||
password: ""
|
||
authSource: "admin"
|
||
redis:
|
||
address: localhost
|
||
password: ""
|
||
database: 1
|
||
port: 6379
|
||
log:
|
||
level: info
|
||
path: "/var/logs/crawlab"
|
||
server:
|
||
host: 0.0.0.0
|
||
port: 8000
|
||
master: "N"
|
||
secret: "crawlab"
|
||
register:
|
||
# mac地址 或者 ip地址,如果是ip,则需要手动指定IP
|
||
type: "mac"
|
||
ip: ""
|
||
spider:
|
||
path: "/app/spiders"
|
||
task:
|
||
workers: 4
|
||
other:
|
||
tmppath: "/tmp"
|