Files
speedtest/tests/docker-compose-playwright.yml
Dr Bill Mcilhargey 1ac189ec12 Harden Docker build context and runtime modes (#888)
* Harden Docker runtime modes and build context

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Limit Docker JavaScript to runtime files

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-12-01 23:26:08 +01:00

110 lines
2.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
- '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:
condition: service_healthy
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:
condition: service_healthy
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:
condition: service_healthy
environment:
- MODE=dual
- WEBPORT=8080
volumes:
- ./e2e/fixtures/servers-dual.json:/servers.json:ro
ports:
- "18183:8080"