canvas-lms/docker-compose/selenium.override.yml

43 lines
1.1 KiB
YAML

# to use this add docker-compose/selenium.override.yml
# to your COMPOSE_FILE var in .env
version: '2.3'
services:
web:
links:
- selenium-hub
## We list all of the different standalone containers as `selenium-hub` since Jenkins
## will use the actual hub + node configuration instead of a standalone for performance
## reasons. Listing all of them as selenium-hub saves a great deal of configuration issues
## Chrome
selenium-hub:
image: selenium/standalone-chrome
environment:
SE_NODE_GRID_URL: selenium-hub:4444/wd/hub
VIRTUAL_HOST: seleniumch.docker
init: true
ports:
- 5901:5900
## Firefox
# selenium-hub:
# image: selenium/standalone-firefox
# environment:
# SE_NODE_GRID_URL: selenium-hub:4444/wd/hub
# VIRTUAL_HOST: seleniumff.docker
# init: true
# ports:
# - 5900:5900
## Edge
# selenium-hub:
# image: selenium/standalone-edge
# environment:
# SE_NODE_GRID_URL: selenium-hub:4444/wd/hub
# VIRTUAL_HOST: seleniumedge.docker
# init: true
# ports:
# - 5902:5900