mirror of
https://github.com/Dvorinka/Trackeep.git
synced 2026-06-03 20:12:58 +00:00
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:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user