title: Multiple docker-compose file with different context path
body: <p>I have 2 docker-compose files that I need to run together, the locations of the files are like </p>
  
  <p><strong>/home/project1/docker-compose.yml</strong> </p>
  
  <p>and</p>
  
  <p><strong>/home/project2/docker-compose.yml</strong></p>
  
  <p>so clearly both the services should have different contextpath</p>
  
  <p>But when I run below docker compose command </p>
  
  <p><strong>docker-compose -f /home/project1/docker-compose.yml -f /home/project2/docker-compose.yml config</strong></p>
  
  <p>I get to see, Both the service are getting the same context path</p>
  
  <pre><code>app:
      build:
        context: /home/project1
        dockerfile: Dockerfile
  app2:
      build:
        context: /home/project1
        dockerfile: Dockerfile
  </code></pre>
  
  <p>How can I resolve this issue I want both my services to have their own project path ie.</p>
  
  <p><strong>app service should have context path /home/project1</strong></p>
  
  <p>and </p>
  
  <p><strong>app2 service should have context path /home/project2</strong></p>