19 lines
459 B
YAML
19 lines
459 B
YAML
version: "3.5"
|
|
services:
|
|
testcafe:
|
|
build: tests/
|
|
working_dir: /project/tests
|
|
command:
|
|
- --dev
|
|
# Run as root to have the right to access /var/run/docker.sock
|
|
user: root
|
|
environment:
|
|
BROWSER: "chromium --use-fake-device-for-media-stream"
|
|
PROJECT_DIR: ${PROJECT_DIR}
|
|
volumes:
|
|
- ./:/project
|
|
- ./maps:/maps
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
# security_opt:
|
|
# - seccomp:unconfined
|