Skip to content

Commit 3dbd333

Browse files
committed
Remove host port mapping from E2E web service
- The E2E stack is fully internal; Playwright reaches the frontend over the Compose network at http://web:80, so publishing 3001:80 to the host served no purpose - Drop the host port to avoid collisions and shrink attack surface, documenting the rationale inline
1 parent 2760134 commit 3dbd333

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker-compose.e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ services:
120120
build:
121121
context: .
122122
dockerfile: docker/Dockerfile.web
123-
ports:
124-
- "3001:80"
123+
# No host port: the E2E stack is fully internal. Playwright reaches the
124+
# frontend over the Compose network at http://web:80 (see playwright BASE_URL).
125125
depends_on:
126126
api:
127127
condition: service_healthy

0 commit comments

Comments
 (0)