mirror of
https://github.com/SeleniumHQ/docker-selenium.git
synced 2024-02-23 15:49:32 +03:00
26 lines
837 B
YAML
26 lines
837 B
YAML
# To execute this docker-compose yml file use `docker-compose -f docker-compose-v3-dynamic-grid.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-dynamic-grid.yml down`
|
|
version: "3"
|
|
services:
|
|
node-docker:
|
|
image: selenium/node-docker:4.8.3-20230328
|
|
volumes:
|
|
- ./assets:/opt/selenium/assets
|
|
- ./NodeDocker/config.toml:/opt/bin/config.toml
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
depends_on:
|
|
- selenium-hub
|
|
environment:
|
|
- SE_EVENT_BUS_HOST=selenium-hub
|
|
- SE_EVENT_BUS_PUBLISH_PORT=4442
|
|
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
|
|
|
|
selenium-hub:
|
|
image: selenium/hub:4.8.3-20230328
|
|
container_name: selenium-hub
|
|
ports:
|
|
- "4442:4442"
|
|
- "4443:4443"
|
|
- "4444:4444"
|