|
@@ -42,7 +42,7 @@ services:
|
|
|
context: ./frontend
|
|
context: ./frontend
|
|
|
dockerfile: Dockerfile
|
|
dockerfile: Dockerfile
|
|
|
args:
|
|
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
|
|
container_name: inventory-frontend-prod
|
|
|
ports:
|
|
ports:
|
|
|
- "${FRONTEND_PORT:-3000}:80"
|
|
- "${FRONTEND_PORT:-3000}:80"
|