2021-12-04 11:01:40 +01:00
|
|
|
version: "3.5"
|
2021-11-23 15:42:52 +01:00
|
|
|
services:
|
|
|
|
testcafe:
|
2021-12-03 18:20:32 +01:00
|
|
|
build: tests/
|
|
|
|
working_dir: /project/tests
|
2021-12-05 21:21:15 +01:00
|
|
|
command:
|
|
|
|
- --dev
|
2021-12-03 18:20:32 +01:00
|
|
|
# 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"
|
2021-12-04 23:17:07 +01:00
|
|
|
PROJECT_DIR: ${PROJECT_DIR}
|
2021-12-06 16:37:27 +01:00
|
|
|
ADMIN_API_TOKEN: ${ADMIN_API_TOKEN}
|
2021-11-23 15:42:52 +01:00
|
|
|
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
|