Public | Automated Build

Last pushed: 7 months ago
Short Description
reactstrap build
Full Description

Demo Website

This is a basic website demonstrating some of my past projects at work

Basic workflow

react-boostrap -> github -> docker hub -> docker cloud (AWS)

This react website has some webhooks that get pushed to a docker swarm on AWS EC2

Basic info for showcasing my demo website

alias docker-cloud="docker run -it -e DOCKERCLOUD_USER=username -e DOCKERCLOUD_PASS=password --rm dockercloud/cli"

docker-cloud service run -p 80 --name web makknife/website

do all of this for the docker-aws integration
https://docs.docker.com/docker-cloud/cloud-swarm/link-aws-swarm/#create-a-dockercloud-swarm-role-role-with-an-embedded-policy

Running west-1
https://us-west-2.console.aws.amazon.com/ec2/v2/home?region=us-west-2
Add the key pair
Make sure to refresh Docker Cloud

Create the task definition. add the container. expose the port.
add the Docker repo info i.e. https://hub.docker.com/r/makknife/website/

Now manage the cluster, create the service, and expose the port to the public
https://us-west-2.console.aws.amazon.com/ecs/home?region=us-west-2#/clusters

Hit the public DNS
ec2-35-161-80-35.us-west-2.compute.amazonaws.com

Versions

v1.0.2 - https://docs.docker.com/docker-cloud/installing-cli/

        https://cloud.docker.com/swarm/makknife/repository/docker/makknife/website/general
        https://github.com/docker/dockercloud-cli
        https://cloud.docker.com/swarm/makknife/swarm/wizard
        https://console.aws.amazon.com/iam/home?region=us-west-2#/roles/ecsInstanceRole
        https://docs.docker.com/docker-cloud/cloud-swarm/link-aws-swarm/#create-a-dockercloud-swarm-role-role-with-an-embedded-policy
        https://docs.docker.com/docker-for-aws/iam-permissions/

v1.0.1 - https://hub.docker.com/r/makknife/website/

v1.0.0 - initial commit

Docker Pull Command
Owner
makknife
Source Repository

Comments (0)