Created
July 18, 2016 20:28
-
-
Save jmaitrehenry/53ef40b44fe9b03281118831141fe2a5 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' | |
services: | |
dev: | |
build: | |
context: . | |
dockerfile: config/docker/Dockerfile.dev | |
ports: | |
- 4000:4000 | |
ci: | |
build: | |
context: . | |
dockerfile: config/docker/Dockerfile.ci | |
volumes: | |
- .:/code | |
ports: | |
- 4001:4001 | |
command: bash -c bin/ci | |
environment: | |
- SELENIUM_HOST=http://selenium:4444/wd/hub | |
- APP_HOST=http://ci:4001 | |
- PHANTOMJS_CDNURL=https://static._xxx_.com/ | |
networks: | |
default: | |
aliases: | |
- ci | |
selenium: | |
image: selenium/standalone-firefox:2.52.0 | |
volumes: | |
- /dev/shm:/dev/shm | |
ports: | |
- 4444:4444 | |
networks: | |
default: | |
aliases: | |
- selenium |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment