#!/usr/bin/env bash
cd /app
/usr/local/bin/docker-compose --file docker-compose-production.yml down -d > /var/log/docker-compose.log 2> /var/log/docker-compose.log

#!/usr/bin/env bash

cd /app
/usr/local/bin/docker-compose --file docker-compose-production.yml down -d > /var/log/docker-compose.log 2> /var/log/docker-compose.log

# Always succeed; we may be running on a new instance with no containers
exit 0

Update ApplicationStop script to be AMI-friendly
Update ApplicationStop script to be AMI-friendly

Doing some work to make AWS CodeDeploy use a pre-baked EC2 image (AMI).
Since the image is already all set up, CodeDeploy is trying to run
ApplicationStop on it before deploying, but there's no running
application to stop and this causes the whole deploy to fail.
