Last active
May 13, 2020 08:28
-
-
Save nicholaslck/cdd4af78bc866a4269bbece0b306c776 to your computer and use it in GitHub Desktop.
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
# To execute this docker-compose yml file use `docker-compose -f <file_name> up` | |
# Add the `-d` flag at the end for detached execution | |
version: "3" | |
networks: | |
selenium-network: | |
services: | |
selenium-hub: | |
image: selenium/hub:3.141.59-20200409 | |
container_name: selenium-hub | |
networks: | |
- selenium-network | |
ports: | |
- "4444:4444" | |
environment: | |
- GRID_NEW_SESSION_WAIT_TIMEOUT=120 | |
- GRID_BROWSER_TIMEOUT=100 | |
- GRID_TIMEOUT=120 | |
chrome: | |
image: selenium/node-chrome:3.141.59-20200409 | |
container_name: selenium-node-chrome | |
volumes: | |
- /dev/shm:/dev/shm | |
depends_on: | |
- selenium-hub | |
networks: | |
- selenium-network | |
environment: | |
- HUB_HOST=selenium-hub | |
- HUB_PORT=4444 | |
firefox: | |
image: selenium/node-firefox:3.141.59-20200409 | |
container_name: selenium-node-firefox | |
volumes: | |
- /dev/shm:/dev/shm | |
depends_on: | |
- selenium-hub | |
networks: | |
- selenium-network | |
environment: | |
- HUB_HOST=selenium-hub | |
- HUB_PORT=4444 | |
opera: | |
image: selenium/node-opera:3.141.59-20200409 | |
container_name: selenium-node-opera | |
volumes: | |
- /dev/shm:/dev/shm | |
depends_on: | |
- selenium-hub | |
networks: | |
- selenium-network | |
environment: | |
- HUB_HOST=selenium-hub | |
- HUB_PORT=4444 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment