speedtest/tests/docker-compose-playwright.yml
Copilot ecb2a0e736
Add Docker TAGLINE env customization for modern frontend slogan (#794)
* Initial plan

* Add Docker TAGLINE env customization for modern UI slogan

Agent-Logs-Url: https://github.com/librespeed/speedtest/sessions/e1da6e0e-5194-453d-bffb-961ed782e215

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

* Refine TAGLINE replacement and expand E2E coverage

Agent-Logs-Url: https://github.com/librespeed/speedtest/sessions/e1da6e0e-5194-453d-bffb-961ed782e215

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

* Fix TAGLINE sed delimiter and add apostrophe tagline E2E test

- Switch TAGLINE sed from '#' to '/' delimiter so html_escape'd
  apostrophes (&#39;) don't break the sed expression
- Add standalone-apostrophe Docker service with TAGLINE="It'd rather be fast!"
- Add standaloneApostrophe URL (port 18186) to env.js
- Add E2E test asserting the apostrophe tagline renders correctly

Agent-Logs-Url: https://github.com/librespeed/speedtest/sessions/ebe265a8-4b1e-49b5-959a-66133ea0ab3a

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
2026-04-18 23:06:37 +02:00

82 lines
1.6 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-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"
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"