Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 446 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 446 Bytes

scrapyd-docker

A light weight docker image for scrapyd

Building the image

docker build -t scrapyd:latest .

Running the container

docker run -p 6800:6800 scrapyd:latest

With data persistence:

docker run \
-p 6800:6800 \
-v $(pwd)/.scrapyd/lib:/var/lib/scrapyd \
-v $(pwd)/.scrapyd/log:/var/log/scrapyd \
scrapyd:latest

Running with docker-compose

docker-compose -f docker-compose.yml up