⬆ Update VITE_API_URL to use localhost for frontend services

This commit is contained in:
2025-05-16 21:41:20 +08:00
parent 69b18bcfb1
commit fb9178fc1d
+3 -3
View File
@@ -99,7 +99,7 @@ services:
build:
context: ./frontend
args:
- VITE_API_URL=http://backend:8000
- VITE_API_URL=http://localhost:8000
- NODE_ENV=development
playwright:
@@ -107,7 +107,7 @@ services:
context: ./frontend
dockerfile: Dockerfile.playwright
args:
- VITE_API_URL=http://backend:8000
- VITE_API_URL=http://localhost:8000
- NODE_ENV=production
ipc: host
depends_on:
@@ -116,7 +116,7 @@ services:
env_file:
- .env
environment:
- VITE_API_URL=http://backend:8000
- VITE_API_URL=http://localhost:8000
- MAILCATCHER_HOST=http://mailcatcher:1080
# For the reports when run locally
- PLAYWRIGHT_HTML_HOST=0.0.0.0