Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
docker-compose.uitests.yml - STUI to Webdriver SG Blog
version: '2.1'
services:
selenium-hub:
image: 'selenium/hub:latest'
ports:
- '4444:4444'
environment:
SE_OPTS: '-timeout 10000 -browserTimeout 10000'
JAVA_OPTS: '-Xmx1024m'
selenium-chrome:
image: 'selenium/node-chrome-debug:latest'
ports:
- '5900:5900'
depends_on:
- selenium-hub
environment:
HUB_PORT_4444_TCP_ADDR: selenium-hub
HUB_PORT_4444_TCP_PORT: 4444
volumes:
- '/dev/shm:/dev/shm'
uitests:
image: <private_docker_image_path>${PIPELINE_SUFFIX}:${VERSION:-latest}
build:
context: .
Dockerfile: Dockerfile.uitests
environment:
- VERSION
- PIPELINE_SUFFIX
command: tail -f /dev/null
depends_on:
- selenium-chrome
volumes:
- './reports:/root/.npm/_logs'
- './reports:/opt/frontendapp/reports'
- './errorShots:/opt/frontendapp/errorShots'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.