-
-
Save mario21ic/c703595ec64a10092e4ac0cb6e527dd0 to your computer and use it in GitHub Desktop.
Selenium Grid docker compose file with firefox and chrome
This file contains hidden or 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: '2' | |
services: | |
seleniumhub: | |
container_name: seleniumhub | |
image: selenium/hub | |
ports: | |
- "4444:4444" | |
firefoxnode: | |
container_name: firefoxnode | |
image: selenium/node-firefox-debug | |
ports: | |
- 4577 | |
links: | |
- seleniumhub | |
environment: | |
- HUB_PORT_4444_TCP_ADDR=seleniumhub | |
- HUB_PORT_4444_TCP_PORT=4444 | |
extra_hosts: | |
- "app.xmidigator.com:172.20.129.2" | |
- "admin.xmidigator.com:172.20.129.2" | |
chromenode: | |
container_name: chromenode | |
image: selenium/node-chrome-debug | |
ports: | |
- 4578 | |
links: | |
- seleniumhub | |
environment: | |
- HUB_PORT_4444_TCP_ADDR=seleniumhub | |
- HUB_PORT_4444_TCP_PORT=4444 | |
extra_hosts: | |
- "app.xmidigator.com:172.20.129.2" | |
- "admin.xmidigator.com:172.20.129.2" | |
networks: | |
default: | |
external: | |
name: build_static-network | |
# -hub URL http://$HUB_PORT_4444_TCP_ADDR:$HUB_PORT_4444_TCP_PORT/grid/register |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment