workadventure/docker-compose.testcafe.yml
David Négrier da1687bdf2 Forcing network name to be able to use docker-compose from inside testcafe container
(otherwise, containers started inside testcafe container are not on the same network)
2021-12-04 17:23:09 +01:00

20 lines
448 B
YAML

version: "3.5"
services:
testcafe:
build: tests/
working_dir: /project/tests
# Run as root to have the right to access /var/run/docker.sock
user: root
environment:
BROWSER: "chromium --use-fake-device-for-media-stream"
volumes:
- ./:/project
- ./maps:/maps
- /var/run/docker.sock:/var/run/docker.sock
# security_opt:
# - seccomp:unconfined
networks:
default:
name: workadventure_dev