Created
June 22, 2018 22:18
-
-
Save cheesepaulo/894aa39a45f29ece7f1bce775b6ca590 to your computer and use it in GitHub Desktop.
selenium-docker-compose
This file contains hidden or 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: '3.6' | |
services: | |
db: | |
image: 'postgres:9.5' | |
volumes: | |
- 'postgres:/var/lib/postgresql/data' | |
app: | |
depends_on: | |
- 'db' | |
build: . | |
command: bash start | |
ports: | |
- '3000:3000' | |
volumes: | |
- '.:/portfolio' | |
- 'box:/box' | |
environment: | |
- SELENIUM_HOST=selenium | |
- SELENIUM_PORT=4444 | |
- TEST_APP_HOST=app | |
- TEST_PORT=3000 | |
stdin_open: true | |
tty: true | |
box: | |
image: busybox | |
volumes: | |
- box:/box | |
mailcatcher: | |
image: tophfr/mailcatcher | |
ports: | |
- 1025:25 | |
- 1080:80 | |
selenium: | |
image: selenium/standalone-chrome-debug:3.0.1-germanium | |
logging: | |
driver: none | |
stdin_open: true | |
tty: true | |
ports: ['4444:4444', '5900:5900'] | |
volumes: | |
postgres: | |
box: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment