diff --git a/docker-compose.yaml b/docker-compose.yaml index 9236395..a7ea8f0 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,12 +1,20 @@ version: '3.8' services: - react-app: + react-app-logistics: build: - context: . - dockerfile: Dockerfile + context: ./app + restart: always ports: - "5003:3000" + deploy: + resources: + limits: + memory: 512M + cpus: "0.5" + reservations: + memory: 128M + cpus: "0.2" environment: - CHOKIDAR_USEPOLLING=true - REACT_APP_LOGISTICS_API_URL=your_api_url