Skip to content

Instantly share code, notes, and snippets.

@jitsejan
Created June 5, 2018 16:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jitsejan/45b7b63b1eaa37c44b1236081a72ce3c to your computer and use it in GitHub Desktop.
Save jitsejan/45b7b63b1eaa37c44b1236081a72ce3c to your computer and use it in GitHub Desktop.
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