Skip to content

Instantly share code, notes, and snippets.

@testautomationtribe
Last active October 9, 2016 15:19
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 testautomationtribe/645248f517370c5a4899cf9e48fef9f7 to your computer and use it in GitHub Desktop.
Save testautomationtribe/645248f517370c5a4899cf9e48fef9f7 to your computer and use it in GitHub Desktop.
docker-compose file to create selenium hub and register two nodes from containers. port is mapped HOST:CONTAINER. we communicated from outside world through Host IP and port
hub:
image: selenium/hub
ports:
- "4444:4444"
chrome:
image: selenium/node-chrome-debug
links:
- hub
ports:
- "7777:5900"
firefox:
image: selenium/node-firefox-debug
links:
- hub
ports:
- "7778:5900"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment