Skip to content

Instantly share code, notes, and snippets.

@revanthpobala
Created July 28, 2017 01:40
Show Gist options
  • Save revanthpobala/f051fc81217873747c73a48aed440bb1 to your computer and use it in GitHub Desktop.
Save revanthpobala/f051fc81217873747c73a48aed440bb1 to your computer and use it in GitHub Desktop.
Docker images to setup the selenium grid
version: '2'
services:
hub:
image: selenium/hub
ports:
- "4444:4444"
firefox:
image: selenium/node-firefox
volumes:
- /dev/urandom:/dev/random
depends_on:
- hub
environment:
- HUB_PORT_4444_TCP_ADDR=hub
- HUB_PORT_4444_TCP_PORT=4444
chrome:
image: selenium/node-chrome
volumes:
- /dev/urandom:/dev/random
depends_on:
- hub
environment:
- HUB_PORT_4444_TCP_ADDR=hub
- HUB_PORT_4444_TCP_PORT=4444
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment