version: "3.7" services: react: container_name: react image: yutsuo/react build: context: . args: - HTTP_PROXY=http://192.168.128.1:3128 - HTTPS_PROXY=http://192.168.128.1:3128 - http_proxy=http://192.168.128.1:3128 - https_proxy=http://192.168.128.1:3128 environment: - HTTP_PROXY=http://192.168.128.1:3128 - HTTPS_PROXY=http://192.168.128.1:3128 - http_proxy=http://192.168.128.1:3128 - https_proxy=http://192.168.128.1:3128 volumes: - $PWD/src:/usr/src/app/src - $PWD/public:/usr/src/app/public ports: - "4000:3000" # - "9229:9229" # command: ["echo",$PWD/src] command: ["npm", "start"] networks: default: ipam: driver: default config: - subnet: 172.17.3.0/24