/scrapyd-server

A docker image consisting of scrapyd and scrapydweb. If you only deploy on a single machine, it is your choice

Primary LanguagePython

中文版本

scrapyd-server

A docker image consisting of scrapyd and scrapydweb. If you only deploy on one machine, then it is your choice. It can easily and quickly run scrapyd and scrapydweb.

How to use

  1. Using the one I have built
#!/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
echo $DIR

docker run --restart=always --name scrapy-server -itd -p 5001:5000 -p 6800:6800 \
-e SCRAPYD_USERNAME=admin \
-e SCRAPYD_PASSWORD=password \
-v "$DIR/config":/app/config \
-v "$DIR/scrapyd":/app/scrapyd \
flik007/scrapyd-server:latest
  1. Build it yourself And Run
docker build -t scrapy-server:latest .
docker run --name scrapy-server -itd -p 5000:5000 -p 6800:6800 \
-e SCRAPYD_USERNAME=admin \
-e SCRAPYD_PASSWORD=password \
-v "$DIR/config":/app/config \
-v "$DIR/scrapyd":/app/scrapyd \
scrapyd-server:latest