Skip to content

Instantly share code, notes, and snippets.

@simi
Created March 9, 2019 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simi/fd5f2892039c3f53fab8d06eeb297a76 to your computer and use it in GitHub Desktop.
Save simi/fd5f2892039c3f53fab8d06eeb297a76 to your computer and use it in GitHub Desktop.
version: '3'
services:
web:
build: .
command: 'bin/rails s -b 0.0.0.0'
volumes:
- .:/app
ports:
- "3000:3000"
depends_on:
- chrome
environment:
- "SELENIUM_HUB_URL=http://chrome:4444/wd/hub"
- "TEST_APP_HOST=web"
- "TEST_APP_PORT=3001"
networks:
main:
aliases:
- web
chrome:
image: selenium/standalone-chrome:3.141.59-iron
ports:
- "4444:4444"
networks:
main:
networks:
main:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment