-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-tasks-e2e.yml
33 lines (32 loc) · 1.01 KB
/
docker-compose-tasks-e2e.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
include:
- docker-compose.yml
services:
lighthouse:
build: ./docker/playwright
image: example_tasks_playwright
cap_drop: [all]
working_dir: /var/www
entrypoint: node tests/lighthouse/index-html.js
volumes: [./tasks_fe:/var/www]
networks: [backend]
links: [nginx, php, mysql, clickhouse, redis, mailpit]
playwright:
build: ./docker/playwright
image: example_tasks_playwright
cap_drop: [all]
working_dir: /var/www/tests
entrypoint: npx playwright test --reporter=list
volumes: [./tasks_fe:/var/www:ro]
networks: [backend]
links: [nginx, php, mysql, clickhouse, redis, mailpit]
playwright_ui:
build: ./docker/playwright
image: example_tasks_playwright
cap_drop: [all]
ports: ["127.0.0.1:8081:8081"]
working_dir: /var/www/tests
entrypoint: npx playwright test
command: --ui-host=0.0.0.0 --ui-port=8081
volumes: [./tasks_fe:/var/www:ro]
networks: [backend, internet]
links: [nginx, php, mysql, clickhouse, redis, mailpit]