title: create-react-app hot-reloading only works when docker-compose is run in subdirectory
body: <p>I have a project that contains a Django Rest Framework server in one subdirectory and a create-react-app app in a second subdirectory. Each subdirectory contains a Dockerfile.</p>
  <p>The project  directory has a docker-compose.yml that starts a postgres database service and the DRF service.</p>
  <p>The create-react-app app subdirectory has its own docker-compose.yml file. If I <strong>cd</strong> to this subdirectory and run <strong>docker-compose up</strong>, the create-react-app app service responds to source changes by hot-reloading the app.</p>
  <p>If I run the create-react-app app service from the project directory docker-compose.yml file, the create-react-app app service does not hot-reload the app when source is changed.</p>
  <p>Here is the docker-compose.yml in the create-react-app app subdirectory:</p>
  <pre><code>version: '3'
  
  services:
  
    admin.ui:
      build:
        context: .
      volumes:
        - '.:/frontend'
        - '/frontend/node_modules'
      ports:
        - &quot;3000:3000&quot;
      environment:
        - CHOKIDAR_USEPOLLING=true
      stdin_open: true
      tty: true
      networks:
        - simpl
  
  networks:
    simpl:
      external:
        name: simpl-games-api_simpl
  </code></pre>
  <p>This is the section of the project docker-compose.yml that configures the create-react-app app service:</p>
  <pre><code>  admin.ui:
      build:
        context: ./simpl_admin_frontend
      volumes:
        - '.:/simpl_admin_frontend/frontend'
        - '/simpl_admin_frontend/frontend/node_modules'
      ports:
        - &quot;3000:3000&quot;
      environment:
        - CHOKIDAR_USEPOLLING=true
      stdin_open: true
      tty: true
      networks:
        - simpl
  </code></pre>
  <p>How do I modify the project level docker-compose.yml to support hot-reloading?</p>