title: Continuous Deployment of Docker Compose App to AWS/EC2
body: <p>I've been trying to find an efficient way to handle continuous deployment with a Docker compose setup and AWS hosting.</p>
  
  <p>So far I've looked into CodeDeploy, S3 buckets, and ECS.  My application is relatively small with only 3 docker services, a Django app, NGINX, and PostgreSQL.  I was unable to find any reliable information for using CodeDeploy with Docker compose and because of the small scale ECS seems impractical.  I've considered an S3 bucket but that seems no better than just deploying my application with something like git or scp.</p>
  
  <p>What is a standard way of handling deploying a docker compose setup on AWS?  If possible I would like to use Bitbucket Pipelines or CircleCI to perform the deployment in a manually triggered step after running tests.  But I've been unable to find a solution that would easily let me copy over the code (which is in a git repo on a production branch and is how I get the code onto the production server at the moment). </p>