Back to Crawlab

Config

docs/config.md

0.6.31.2 KB
Original Source

Config

Environment Variable List

NameDescriptionExampleDefault
CRAWLAB_GRPC_ADDRESSTarget gRPC address the nodes are connecting to192.168.0.1:9666localhost:9666
CRAWLAB_GRPC_SERVER_ADDRESSAddress that the gRPC server is listening to (master node only)0.0.0.0:96660.0.0.0:9666
CRAWLAB_GRPC_AUTHKEYThe token that gRPC clients and server use for authenticationyoucanneverguessCrawlab2021!
CRAWLAB_NODE_MASTERWhether the current node is a master or worker node (Y: master; N: worker)YY
CRAWLAB_SERVER_HOSTIP host that the API listens to (master node only)0.0.0.00.0.0.0
CRAWLAB_SERVER_PORTIP port that the API listens to (master node only)80008000
CRAWLAB_TASK_HANDLER_MAXRUNNERSMax number of task runners (concurrent spider tasks) that a node can run168
CRAWLAB_FS_FILER_PROXYFiler API endpoint that Crawlab's filer proxy links tohttp://filer-server:8888http://localhost:8888
CRAWLAB_FS_FILER_URLCrawlab's Filer API endpointhttp://crawlab-web-api:8000/filerhttp://localhost:8000/filer
CRAWLAB_FS_FILER_AUTHKEYCrawlab's Filer API auth key tokenyoucanneverguessCrawlab2021!