-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (43 loc) · 1.16 KB
/
docker-compose.yml
File metadata and controls
45 lines (43 loc) · 1.16 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
services:
playwright-tests:
build:
context: .
dockerfile: Dockerfile
container_name: mcp-playwright-tests
volumes:
# Mount test results and reports to host for persistence
- ./test-results:/app/test-results
- ./playwright-report:/app/playwright-report
- ./allure-results:/app/allure-results
- ./allure-report:/app/allure-report
# Mount source code for development (optional)
- ./tests:/app/tests:ro
- ./helpers:/app/helpers:ro
environment:
- CI=true
- PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
- ALLURE_RESULTS_DIR=/app/allure-results
ports:
- "45281:45281" # For Allure report server
networks:
- playwright-network
# Optional: Allure report server
allure-server:
build:
context: .
dockerfile: Dockerfile
container_name: mcp-playwright-allure
command: ["npm", "run", "allure:serve"]
volumes:
- ./allure-results:/app/allure-results:ro
ports:
- "45282:45281"
depends_on:
- playwright-tests
networks:
- playwright-network
profiles:
- allure
networks:
playwright-network:
driver: bridge