Created
April 16, 2017 15:16
-
-
Save diemol/2ed7b1d5e711d1bcc4eec29951347653 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.1' | |
services: | |
app: | |
extends: | |
file: ../../docker-compose.yml | |
service: app | |
environment: | |
# Path is relative to the location of the dev server. | |
- WEBPACK_CONFIG=./acceptance/webpack.config.acceptance.js | |
expose: | |
- '3000' | |
volumes: | |
- ./screenshots:/usr/src/app/tests/acceptance/screenshots | |
selenium: | |
image: selenium/hub | |
expose: | |
- '4444' | |
ports: | |
- '4444:4444' # so we can ping for the status of the nodes | |
environment: | |
- GRID_DEBUG=true | |
devices: | |
# Try to prevent Selenium from blocking when creating sessions due to | |
# limitd entropy. | |
- /dev/urandom:/dev/random | |
chrome: | |
image: selenium/node-chrome | |
firefox: | |
image: selenium/node-firefox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment