Docker image of scrapydweb.
scrapydweb
does not support Python beyond 3.7.- default settings provided.
- aliyun mirror used for apt install.
- douban mirror used for pypi.
Example of docker-compose.yml
:
version: '3'
services:
scrapyd:
image: caky/scrapyd
restart: always
volumes:
- /data/scrapyd:/app
ports:
- 6800:6800
networks:
- default
scrapydweb:
image: caky/scrapydweb
restart: always
depends_on:
- scrapyd
volumes:
- /data/scrapydweb:/app/data
- /data/scrapy_projects:/app/scrapy_projects
ports:
- 8085:5000
networks:
- default
environment:
DATA_PATH: "/app/data"
SCRAPYDWEB_USER: ${SCRAPYDWEB_USER}
SCRAPYDWEB_PASSWORD: ${SCRAPYDWEB_PASSWORD}
TZ : "Asia/Shanghai"
networks:
default:
driver: bridge