Frontend env arguments

This commit is contained in:
Eden Kirin
2024-01-23 22:55:21 +01:00
parent 5db0026aa7
commit 2cdbebdfa1
3 changed files with 12 additions and 4 deletions

View File

@ -69,10 +69,11 @@ services:
build:
context: ./frontend
dockerfile: Dockerfile
args:
- REACT_APP_MACHINES_API_URL=http://localhost:10000
- REACT_APP_PRODUCTS_API_URL=http://localhost:10000
networks:
- frontend-net
environment:
- REACT_APP_BACKEND_API_URL="http://localhost:10000"
ports:
- "8080:80"
depends_on: