mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:31 +02:00
31 lines
559 B
YAML
31 lines
559 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
|
|
scrapyd:
|
|
image: vimagick/scrapyd:py3
|
|
ports:
|
|
- "6800:6800"
|
|
volumes:
|
|
- ./data:/var/lib/scrapyd
|
|
- /usr/local/lib/python3.9/dist-packages
|
|
restart: unless-stopped
|
|
|
|
scrapy:
|
|
image: vimagick/scrapyd:py3
|
|
command: bash
|
|
volumes:
|
|
- .:/code
|
|
working_dir: /code
|
|
restart: unless-stopped
|
|
|
|
scrapyrt:
|
|
image: vimagick/scrapyd:py3
|
|
command: scrapyrt -i 0.0.0.0 -p 9080
|
|
ports:
|
|
- "9080:9080"
|
|
volumes:
|
|
- .:/code
|
|
working_dir: /code
|
|
restart: unless-stopped
|