2020-04-14 20:16:51 +02:00
|
|
|
version: '3'
|
2020-04-14 20:04:55 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
wait_app:
|
|
|
|
image: dadarek/wait-for-dependencies
|
|
|
|
depends_on:
|
2020-04-14 20:16:51 +02:00
|
|
|
- reverse-proxy
|
2020-04-14 20:04:55 +02:00
|
|
|
command: front:8080
|
|
|
|
cypress:
|
|
|
|
# the Docker image to use from https://github.com/cypress-io/cypress-docker-images
|
2020-04-14 20:54:27 +02:00
|
|
|
image: "cypress/included:3.8.3"
|
2020-04-14 20:04:55 +02:00
|
|
|
depends_on:
|
2020-04-14 20:16:51 +02:00
|
|
|
- reverse-proxy
|
2020-04-14 20:04:55 +02:00
|
|
|
environment:
|
|
|
|
# pass base url to test pointing at the web application
|
|
|
|
- CYPRESS_baseUrl=http://front:8080
|
|
|
|
working_dir: /e2e
|
|
|
|
volumes:
|
|
|
|
- ./e2e/:/e2e
|