Dockerized Scrapyd server.
From a bash terminal, pull the Docker image zwilson/scrapyd
docker pull zwilson/scrapyd
see Contribute for installalling in a development environment.
Start the docker container
docker run --rm -d \
-v $PWD/data:/home/scrapyd/data \
-p 6800:6800 \
zwilson/scrapyd
Then, from the root of a Scrapy project
scrapyd-deploy && \
curl -d project=$PROJECT_NAME -d spider=$SPIDER_NAME \
http://localhost:6800/schedule.json
To use python dependencies not included with the scrapyd distribution, such as Scrapy extensions add this repository as a submodule to a scrapyd project, update ./docker-scrapyd/requirements.txt followed by, e.g.:
docker build -t scrapyd:latest ./docker-scrapyd/.
git clone https://github.com/zazazack/docker-scrapyd.git
cd docker-scrapyd
docker-compose up -d
alternatively,
docker stack up -c ./docker-stack.yml up scrapyd
Content type
Image
Digest
Size
82.7 MB
Last updated
about 6 years ago
docker pull zwilson/scrapyd