mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
56 lines
967 B
Go
56 lines
967 B
Go
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"
|
||
isDeletePeriodically: "N"
|
||
deleteFrequency: "@hourly"
|
||
server:
|
||
host: 0.0.0.0
|
||
port: 8000
|
||
master: "Y"
|
||
secret: "crawlab"
|
||
register:
|
||
# mac地址/ip地址/hostname, 如果是ip,则需要手动指定IP
|
||
type: "mac"
|
||
ip: ""
|
||
lang: # 安装语言环境, Y 为安装,N 为不安装
|
||
python: "Y"
|
||
node: "N"
|
||
java: "N"
|
||
dotnet: "N"
|
||
php: "N"
|
||
spider:
|
||
path: "/app/spiders"
|
||
task:
|
||
workers: 4
|
||
other:
|
||
tmppath: "/tmp"
|
||
version: 0.4.8
|
||
setting:
|
||
allowRegister: "N"
|
||
enableTutorial: "N"
|
||
runOnMaster: "Y"
|
||
demoSpiders: "N"
|
||
checkScrapy: "Y"
|
||
notification:
|
||
mail:
|
||
server: ''
|
||
port: ''
|
||
senderEmail: ''
|
||
senderIdentity: ''
|
||
smtp:
|
||
user: ''
|
||
password: '' |