mirror of
https://github.com/librespeed/speedtest.git
synced 2026-05-13 16:26:38 +00:00
* 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 (') 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>
82 lines
1.6 KiB
YAML
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"
|