overleaf/services/web/docker-compose.cypress.yml
Alf Eaton 0e09c25a97 Run Cypress interactive UI in Docker (#9954)
Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com>
GitOrigin-RevId: 51e7149cf10475c229d6e7a9ae8cf5694002d27b
2022-11-01 09:04:03 +00:00

12 lines
307 B
YAML

services:
cypress:
image: cypress/included:10.9.0
volumes:
- ../../:/overleaf
- /tmp/.X11-unix:/tmp/.X11-unix
working_dir: /overleaf/services/web
entrypoint: npm
user: "${DOCKER_USER:-1000:1000}"
environment:
- "DISPLAY=${DISPLAY:-:0}"
# - "DEBUG=cypress.*"