Public | Automated Build

Last pushed: 10 months ago
Short Description
Test counter
Full Description

Count !

Count is a simple Web application to kick the wheels of various deployment
methodologies like that of Github -> Docker Hub -> CoreOS or dokku.

Building an image with a git commit

docker build -t hendry/count --build-arg COMMIT=$(git describe --always) .
docker tag hendry/count hendry/count:purple
docker push hendry/count:purple

AWS ECS guide

Inspired by

Ensure is installed:

ecs-cli --version;wget -O /usr/local/bin/ecs-cli; ecs-cli --version

The tricky part is setting up the load balancer:

ecs-cli up --capability-iam --keypair $(whoami)

Scale service like so:

ecs-cli scale --size 2 --capability-iam
ecs-cli compose service scale 2

To roll out an update, change the compose file and:

ecs-cli compose service up

Bring it all down:

ecs-cli compose service down
ecs-cli down --force

Helpers like ./ are to help developers new to Docker build, test & deploy via AWS ECR

Docker Pull Command
Source Repository