Created
June 5, 2018 16:31
-
-
Save jitsejan/45b7b63b1eaa37c44b1236081a72ce3c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.2' | |
services: | |
scraper: | |
build: | |
context: . | |
dockerfile: ./Dockerfile | |
command: scrapy crawl insolvencydirect | |
environment: | |
- HUB_PORT_4444_TCP_ADDR=hub | |
- HUB_PORT_4444_TCP_PORT=4444 | |
depends_on: | |
- selenium | |
volumes: | |
- type: bind | |
source: ./ | |
target: /app/ | |
networks: | |
- selenium-grid | |
selenium: | |
container_name: selenium | |
image: selenium/standalone-chrome #-debug | |
ports: | |
- "5900:5900" | |
shm_size: 128M | |
networks: | |
- selenium-grid | |
volumes: | |
scrape-data: | |
networks: | |
selenium-grid: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment