|
1 | 1 | version: "3"
|
2 |
| - |
3 | 2 | services:
|
4 | 3 | selenium-hub:
|
5 |
| - image: selenium/hub:3.141.59-zirconium |
| 4 | + image: seleniarm/hub:4.10.0-20230615 |
6 | 5 | container_name: selenium-hub
|
7 | 6 | ports:
|
| 7 | + - "4442:4442" |
| 8 | + - "4443:4443" |
8 | 9 | - "4444:4444"
|
9 | 10 | healthcheck:
|
10 | 11 | test: ["CMD", "/opt/bin/check-grid.sh"]
|
11 | 12 | interval: 15s
|
12 | 13 | timeout: 30s
|
13 | 14 | retries: 5
|
14 |
| - |
15 | 15 | chrome:
|
16 |
| - image: selenium/node-chrome:3.141.59-zirconium |
17 |
| - # Volume mounting is necessary to ensure the browser does not crash inside the docker container. |
18 |
| - # For more details see: |
19 |
| - # https://github.com/SeleniumHQ/docker-selenium#running-the-images |
20 |
| - # https://bugs.chromium.org/p/chromium/issues/detail?id=519952 |
21 |
| - # https://bugzilla.mozilla.org/show_bug.cgi?id=1338771#c10 |
| 16 | + image: seleniarm/node-chromium:4.10.0-20230615 |
22 | 17 | volumes:
|
23 | 18 | - /dev/shm:/dev/shm
|
| 19 | + shm_size: 2gb |
24 | 20 | depends_on:
|
25 | 21 | - selenium-hub
|
26 | 22 | environment:
|
27 |
| - - HUB_HOST=selenium-hub |
28 |
| - - HUB_PORT=4444 |
29 |
| - |
| 23 | + - SE_EVENT_BUS_HOST=selenium-hub |
| 24 | + - SE_EVENT_BUS_PUBLISH_PORT=4442 |
| 25 | + - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 |
30 | 26 | firefox:
|
31 |
| - image: selenium/node-firefox:3.141.59-zirconium |
32 |
| - # Volume mounting is necessary to ensure the browser does not crash inside the docker container. |
33 |
| - # For more details see: |
34 |
| - # https://github.com/SeleniumHQ/docker-selenium#running-the-images |
35 |
| - # https://bugs.chromium.org/p/chromium/issues/detail?id=519952 |
36 |
| - # https://bugzilla.mozilla.org/show_bug.cgi?id=1338771#c10 |
| 27 | + image: seleniarm/node-firefox:4.10.0-20230615 |
37 | 28 | volumes:
|
38 | 29 | - /dev/shm:/dev/shm
|
| 30 | + shm_size: 2gb |
39 | 31 | depends_on:
|
40 | 32 | - selenium-hub
|
41 | 33 | environment:
|
42 |
| - - HUB_HOST=selenium-hub |
43 |
| - - HUB_PORT=4444 |
| 34 | + - SE_EVENT_BUS_HOST=selenium-hub |
| 35 | + - SE_EVENT_BUS_PUBLISH_PORT=4442 |
| 36 | + - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 |
0 commit comments