fix: add missing VITE_API_URL to production frontend

- Add VITE_API_URL environment variable to production frontend
- Ensures frontend can connect to backend API in production
This commit is contained in:
Tomas Dvorak
2026-03-03 12:39:08 +01:00
parent ebd4ba649d
commit dee7011192
+1
View File
@@ -7,6 +7,7 @@ services:
environment: environment:
- NODE_ENV=production - NODE_ENV=production
- VITE_DEMO_MODE=${VITE_DEMO_MODE:-false} - VITE_DEMO_MODE=${VITE_DEMO_MODE:-false}
- VITE_API_URL=${VITE_API_URL:-http://localhost:8080}
- FRONTEND_PORT=${FRONTEND_PORT:-80} - FRONTEND_PORT=${FRONTEND_PORT:-80}
- BACKEND_PORT=${BACKEND_PORT:-8080} - BACKEND_PORT=${BACKEND_PORT:-8080}
depends_on: depends_on: