overleaf/services/web/docker-compose.cypress.yml
Jakob Ackermann 95105d9f96 Merge pull request #17374 from overleaf/jpa-cypress-docker
[web] start docker-compose based cypress in open-ct mode by default

GitOrigin-RevId: 692965035206b59c9e942e7ed873f290c94daaec
2024-03-04 09:04:03 +00:00

14 lines
357 B
YAML

services:
cypress:
image: cypress/included:13.3.3
volumes:
- ../../:/overleaf
- /tmp/.X11-unix:/tmp/.X11-unix
working_dir: /overleaf/services/web
entrypoint: npm
command: run cypress:open-ct
user: "${DOCKER_USER:-1000:1000}"
environment:
VERBOSE_LOGGING:
DISPLAY: ${DISPLAY:-:0}
# DEBUG: cypress.*