Skip to content

Instantly share code, notes, and snippets.

@lewispham
Created August 16, 2018 08:02
Show Gist options
  • Save lewispham/55b1892a50d6406e4d7625c2224f7d4c to your computer and use it in GitHub Desktop.
Save lewispham/55b1892a50d6406e4d7625c2224f7d4c to your computer and use it in GitHub Desktop.
version: "3"
services:
test:
container_name: e2e-test
build:
context: .
dockerfile: ./Dockerfile
links:
- chrome
- firefox
env_file:
- .env
volumes:
- ".:/usr/local/app"
selenium-hub:
image: selenium/hub:3.14.0-arsenic
container_name: selenium-hub
ports:
- "4444:4444"
chrome:
image: selenium/node-chrome:3.14.0-arsenic
links:
- selenium-hub
env_file:
- .env
volumes:
- "/dev/shm:/dev/shm"
firefox:
image: selenium/node-firefox:3.14.0-arsenic
links:
- selenium-hub
env_file:
- .env
volumes:
- "/dev/shm:/dev/shm"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment