Make sure you have installed Docker, and then pull the image of Crawlab and MongoDB.
docker pull crawlabteam/crawlab docker pull mongo
If you have not installed Docker Compose, you can install it by executing the command below.
pip install docker-compose
Create a config file named
docker-compose.yml and enter the content below.
version: '3.3' services: master: image: crawlabteam/crawlab container_name: crawlab_master environment: CRAWLAB_NODE_MASTER: "Y" CRAWLAB_MONGO_HOST: "mongo" ports: - "8080:8080" depends_on: - mongo mongo: image: mongo:4.2
Start Crawlab along with MongoDB by executing the command below.
docker-compose up -d
Now you can open the browser and navigate to
http://localhost:8080 to start using Crawlab.
This is a minimal setup of Crawlab and you can experience most of the features in this demo environment. You should ** NOT** use this demo setup in production environment!
If you would like to deploy Crawlab in production environment, you should refer to Installation for more information.
We also recommend that you follow Basic Tutorial for how to use Crawlab.