@@ -42,7 +42,7 @@ services:
context: ./frontend
dockerfile: Dockerfile
args:
- - VUE_APP_API_URL=${VUE_APP_API_URL:-http://localhost:8080}
+ - VUE_APP_API_URL=${VUE_APP_API_URL:-http://localhost:${BACKEND_PORT:-8080}}
container_name: inventory-frontend-prod
ports:
- "${FRONTEND_PORT:-3000}:80"
@@ -47,7 +47,7 @@ services:
environment:
depends_on:
backend:
condition: service_healthy