title: How to do multi-tiered application deployment using Docker?
body: <p>I want to use following deployment architecture.</p>
  
  <ul>
  <li>One machine running my webserver(nginx)</li>
  <li>Two or more machines running uwsgi</li>
  <li>Postgresql as my db on another server.</li>
  </ul>
  
  <p>All the three are three different host machines on AWS. During development I used docker and was able to run all these three on my local machine. But I am clueless now as I want to split those three into three separate hosts and run it. Any guidance, clues, references will be greatly appreciated. I preferably want to do this using docker.</p>