speedtest/tests/docker-compose-playwright.yml
sstidl 49f54a5c3c
add e2e testing (#777)
* docs(test): add playwright modes test plan

* test(e2e): add playwright phase-1 mode coverage

* test(e2e): add classic standalone no-server regression

* ci(docker): gate image build on playwright e2e

* ci(e2e): run on master push and allow manual dispatch

---------

Co-authored-by: Stefan Stidl <stefan.stidl@ffg.at>
2026-04-12 14:59:54 +02:00

68 lines
1.2 KiB
YAML

services:
backend-testpoint:
build:
context: ..
dockerfile: Dockerfile
environment:
- MODE=backend
- WEBPORT=8080
standalone:
build:
context: ..
dockerfile: Dockerfile
environment:
- MODE=standalone
- WEBPORT=8080
- USE_NEW_DESIGN=false
ports:
- "18180:8080"
standalone-new:
build:
context: ..
dockerfile: Dockerfile
environment:
- MODE=standalone
- WEBPORT=8080
- USE_NEW_DESIGN=true
ports:
- "18185:8080"
backend:
build:
context: ..
dockerfile: Dockerfile
environment:
- MODE=backend
- WEBPORT=8080
ports:
- "18181:8080"
frontend:
build:
context: ..
dockerfile: Dockerfile
depends_on:
- backend-testpoint
environment:
- MODE=frontend
- WEBPORT=8080
volumes:
- ./e2e/fixtures/servers-frontend.json:/servers.json:ro
ports:
- "18182:8080"
dual:
build:
context: ..
dockerfile: Dockerfile
depends_on:
- backend-testpoint
environment:
- MODE=dual
- WEBPORT=8080
volumes:
- ./e2e/fixtures/servers-dual.json:/servers.json:ro
ports:
- "18183:8080"