test: use local proxy endpoints for e2e

This commit is contained in:
zhi
2026-03-15 22:40:17 +00:00
parent 15859b9f28
commit 62ca6bd32b
2 changed files with 6 additions and 4 deletions

View File

@@ -91,14 +91,16 @@ services:
restart: "no"
environment:
# Use internal service name for test to reach frontend
BASE_URL: http://frontend:${FRONTEND_PORT:-3000}
FRONTEND_URL: http://frontend:${FRONTEND_PORT:-3000}
WEB_SERVER_URL: http://frontend:${FRONTEND_PORT:-3000}
BASE_URL: http://127.0.0.1:${FRONTEND_PORT:-3000}
FRONTEND_URL: http://127.0.0.1:${FRONTEND_PORT:-3000}
WEB_SERVER_URL: http://127.0.0.1:${FRONTEND_PORT:-3000}
WIZARD_URL: http://127.0.0.1:${WIZARD_PORT:-8080}/wizard
WIZARD_API_URL: http://127.0.0.1:${WIZARD_PORT:-8080}
WIZARD_HOST: wizard
WIZARD_PORT: ${WIZARD_PORT:-8080}
BACKEND_URL: http://127.0.0.1:${BACKEND_PORT:-8000}
BACKEND_HOST: backend
FRONTEND_HOST: frontend
CHROME_DEBUGGING_PORT: 9222
networks:
- test-network