91c83eccd2
* feat(project): add automated testing with cypress * feat(project): made suggested edits * feat(project): add init test * feat(project): add socket to correct container
19 lines
466 B
YAML
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 |