1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00

update selenium

This commit is contained in:
kev 2016-11-23 15:25:50 +08:00
parent 78f8b4b314
commit 35b7c7d1a0
2 changed files with 24 additions and 4 deletions

View File

@ -2,26 +2,33 @@ hub:
image: selenium/hub
ports:
- "4444:4444"
environment:
- GRID_TIMEOUT=30000
- GRID_BROWSER_TIMEOUT=30000
restart: always
firefox:
image: selenium/node-firefox-debug
ports:
- "5555"
- "5900"
- "5901:5900"
links:
- hub
environment:
- JAVA_OPTS=-Xmx512m
- JAVA_OPTS=-Xmx768m
- NODE_MAX_INSTANCES=5
- NODE_MAX_SESSION=5
restart: always
chrome:
image: selenium/node-chrome-debug
ports:
- "5555"
- "5900"
- "5902:5900"
links:
- hub
environment:
- JAVA_OPTS=-Xmx512m
- JAVA_OPTS=-Xmx768m
- NODE_MAX_INSTANCES=5
- NODE_MAX_SESSION=5
restart: always

View File

@ -0,0 +1,13 @@
firefox:
image: selenium/node-firefox
ports:
- "5555:5555"
- "5900:5900"
environment:
- JAVA_OPTS=-Xmx512m
- NODE_MAX_INSTANCES=2
- NODE_MAX_SESSION=2
- SE_OPTS=-host 5.6.7.8 -port 5555
- HUB_PORT_4444_TCP_ADDR=1.2.3.4
- HUB_PORT_4444_TCP_PORT=4444
restart: always