speedtest/tests/docker-compose-playwright.yml
Copilot bd8501ad13
Some checks are pending
Docker / e2e (push) Waiting to run
Docker / build (./Dockerfile, , ghcr.io/${{ github.repository }}) (push) Blocked by required conditions
Docker / build (./Dockerfile.alpine, -alpine, ghcr.io/${{ github.repository }}) (push) Blocked by required conditions
Allow frontend Docker mode to use SERVER_LIST_URL without a mounted /servers.json (#849)
* Initial plan

* Fix SERVER_LIST_URL frontend startup

Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>

* test(e2e): serve remote server-list fixture with CORS

* test(e2e): reject malformed static-server paths

* fix: support SERVER_LIST_URL in classic frontend

* test: preserve existing mode test formatting

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
Co-authored-by: Stefan Stidl <sti-github@stidl.com>
2026-09-12 00:30:17 +02:00

106 lines
2.1 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
- 'TITLE=Grüße "Tempo" ''Österreich'''
- 'TAGLINE=No "Flash", <No Java>, No Websockets & No Bullsh*t'
ports:
- "18185:8080"
standalone-alpine:
build:
context: ..
dockerfile: Dockerfile.alpine
environment:
- MODE=standalone
- WEBPORT=8080
- USE_NEW_DESIGN=true
ports:
- "18187:8080"
standalone-apostrophe:
build:
context: ..
dockerfile: Dockerfile
environment:
- MODE=standalone
- WEBPORT=8080
- USE_NEW_DESIGN=true
- "TAGLINE=It'd rather be fast!"
ports:
- "18186: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"
frontend-remote:
build:
context: ..
dockerfile: Dockerfile
depends_on:
- backend-testpoint
environment:
- MODE=frontend
- WEBPORT=8080
- SERVER_LIST_URL=http://127.0.0.1:18184/tests/e2e/fixtures/servers-frontend-remote.json
ports:
- "18188: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"