mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
update selenium
This commit is contained in:
parent
78f8b4b314
commit
35b7c7d1a0
@ -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
|
||||
|
13
selenium/docker-compose-node.yml
Normal file
13
selenium/docker-compose-node.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user