Skip to content

Instantly share code, notes, and snippets.

@krishna-acondy
Created June 25, 2019 11:47
Show Gist options
  • Save krishna-acondy/0a3abfa1d1d1ee548215275541853323 to your computer and use it in GitHub Desktop.
Save krishna-acondy/0a3abfa1d1d1ee548215275541853323 to your computer and use it in GitHub Desktop.
version: '3.7'
services:
web-app:
container_name: web-app-${DOCKER_SUFFIX}
image: <Path to your app's docker image>
networks:
- automated-ui-tests
# Include any other components of your application here
selenium-hub:
container_name: selenium-hub-${DOCKER_SUFFIX}
image: selenium/hub:3.141.59-neon
expose:
- 4444
environment:
- GRID_TIMEOUT=120000
- GRID_BROWSER_TIMEOUT=120000
networks:
- automated-ui-tests
chrome-node:
container_name: chrome-node-${DOCKER_SUFFIX}
image: selenium/node-chrome:3.141.59-neon
depends_on:
- selenium-hub
environment:
- HUB_HOST=selenium-hub
networks:
- automated-ui-tests
networks:
automated-ui-tests:
name: automated-ui-tests-${DOCKER_SUFFIX}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment