Skip to content

Commit 27d1362

Browse files
committed
🔧 Update Docker Compose, include Playwright
1 parent d0ea525 commit 27d1362

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docker-compose.override.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,26 @@ services:
102102
- VITE_API_URL=http://localhost:8000
103103
- NODE_ENV=development
104104

105+
playwright:
106+
build:
107+
context: ./frontend
108+
dockerfile: Dockerfile.playwright
109+
args:
110+
- VITE_API_URL=http://backend:8000
111+
- NODE_ENV=production
112+
ipc: host
113+
environment:
114+
- VITE_API_URL=http://backend:8000
115+
- MAILCATCHER_HOST=http://mailcatcher:1080
116+
# For the reports when run locally
117+
- PLAYWRIGHT_HTML_HOST=0.0.0.0
118+
- CI=${CI}
119+
volumes:
120+
- ./frontend/blob-report:/app/blob-report
121+
- ./frontend/test-results:/app/test-results
122+
ports:
123+
- 9323:9323
124+
105125
networks:
106126
traefik-public:
107127
# For local dev, don't expect an external Traefik network

0 commit comments

Comments
 (0)