Files
portainer/test/e2e/docker-compose.yml
T
William 91c83eccd2 feat(project): add automated testing with cypress (#3305)
* feat(project): add automated testing with cypress

* feat(project): made suggested edits

* feat(project): add init test

* feat(project): add socket to correct container
2019-10-25 18:53:29 +13:00

19 lines
466 B
YAML

version: '3'
services:
portainer:
image: portainerci/portainer:$PORTAINER_TAG
container_name: e2e-portainer
volumes:
- /var/run/docker.sock:/var/run/docker.sock
cypress:
image: cypress/included:3.4.1
container_name: e2e-cypress
depends_on:
- portainer
working_dir: /app
environment:
- CYPRESS_baseUrl=http://e2e-portainer:9000
volumes:
- ./cypress:/app/cypress
- ./cypress.json:/app/cypress.json