2021-11-23 15:42:52 +01:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
testcafe:
|
2021-12-03 18:20:32 +01:00
|
|
|
build: tests/
|
|
|
|
working_dir: /project/tests
|
|
|
|
# Run as root to have the right to access /var/run/docker.sock
|
|
|
|
user: root
|
2021-11-23 15:42:52 +01:00
|
|
|
environment:
|
|
|
|
BROWSER: "chromium --use-fake-device-for-media-stream"
|
|
|
|
volumes:
|
2021-12-03 18:20:32 +01:00
|
|
|
- ./:/project
|
2021-11-23 15:42:52 +01:00
|
|
|
- ./maps:/maps
|
2021-12-01 14:37:36 +01:00
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2021-11-23 15:42:52 +01:00
|
|
|
# security_opt:
|
|
|
|
# - seccomp:unconfined
|