Created
July 4, 2016 13:00
-
-
Save QAutomatron/9b154f27615de413ec64e32e1734faa3 to your computer and use it in GitHub Desktop.
Compose file for two pairs of selenium grid hud and selenium node
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: | |
hub1: | |
image: <hub-image> | |
restart: always | |
ports: | |
- "4441:4444" | |
environment: | |
- JAVA_OPTS=-Xmx512m | |
- GRID_NEW_SESSION_WAIT_TIMEOUT = 10000 | |
senode1: | |
image: <node-image> | |
restart: always | |
depends_on: | |
- hub1 | |
volumes: | |
- /var/lib/selenium/Dropbox:/var/lib/selenium/Dropbox | |
- /dev/shm:/dev/shm | |
environment: | |
- HUB_PORT_4444_TCP_ADDR=hub1 | |
- HUB_PORT_4444_TCP_PORT=4444 | |
- JAVA_OPTS=-Xmx512m | |
- TZ=Europe/Moscow | |
hub2: | |
image: <hub-image> | |
restart: always | |
ports: | |
- "4442:4444" | |
environment: | |
- JAVA_OPTS=-Xmx512m | |
- GRID_NEW_SESSION_WAIT_TIMEOUT = 10000 | |
senode2: | |
image: <node-image> | |
restart: always | |
depends_on: | |
- hub2 | |
volumes: | |
- /var/lib/selenium/Dropbox:/var/lib/selenium/Dropbox | |
- /dev/shm:/dev/shm | |
environment: | |
- HUB_PORT_4444_TCP_ADDR=hub2 | |
- HUB_PORT_4444_TCP_PORT=4444 | |
- JAVA_OPTS=-Xmx512m | |
- TZ=Europe/Moscow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment