-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added docker compose for running selenium grid on apple m1,m2 chip ma…
…chines
- Loading branch information
1 parent
440c510
commit 10ce9eb
Showing
2 changed files
with
73 additions
and
50 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# To execute this docker-compose yml file use `docker-compose -f docker-compose-v3-seleniumgrid-m2.yml up` | ||
# Add the `-d` flag at the end for detached execution | ||
# To stop the execution, hit Ctrl+C, and then `docker-compose -f docker-compose-v3-seleniumgrid-m2.yml down` | ||
version: "3" | ||
services: | ||
chrome: | ||
image: seleniarm/node-chromium:latest | ||
shm_size: 2gb | ||
depends_on: | ||
- selenium-hub | ||
environment: | ||
- SE_EVENT_BUS_HOST=selenium-hub | ||
- SE_EVENT_BUS_PUBLISH_PORT=4442 | ||
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443 | ||
- SE_NODE_MAX_INSTANCES=2 | ||
- SE_NODE_MAX_SESSIONS=2 | ||
# - SE_NODE_SESSION_TIMEOUT=180 | ||
|
||
firefox: | ||
image: seleniarm/node-firefox:latest | ||
shm_size: 2gb | ||
depends_on: | ||
- selenium-hub | ||
environment: | ||
- SE_EVENT_BUS_HOST=selenium-hub | ||
- SE_EVENT_BUS_PUBLISH_PORT=4442 | ||
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443 | ||
- SE_NODE_MAX_INSTANCES=1 | ||
- SE_NODE_MAX_SESSIONS=1 | ||
# - SE_NODE_SESSION_TIMEOUT=180 | ||
|
||
selenium-hub: | ||
image: seleniarm/hub:latest | ||
container_name: selenium-hub | ||
ports: | ||
- "4442:4442" | ||
- "4443:4443" | ||
- "4444:4444" |
This file contains 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