hello world example application
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
consul Rename manafest files and stub out readme for the deployment Oct 28, 2016
hello update to ContainerPilot v3.0.0-final Jun 16, 2017
nginx
world update to ContainerPilot v3.0.0-final Jun 16, 2017
.gitignore Fix ignore Aug 31, 2016
LICENSE Initial commit Aug 31, 2016
README.md Add triton setup script Sep 16, 2016
application-diagram.jpg Update configuration diagram Sep 12, 2016
docker-compose.yml Simplify example, works on triton Sep 16, 2016
hello-world.png Add diagram and fix safari issue (#2) Sep 1, 2016
kube-README.md Language fixes Nov 10, 2016
kube-namespace.yml
triton-docker-setup.sh Add triton setup script Sep 16, 2016

README.md

Hello World using the Autopilot Pattern

  1. git clone git@github.com:autopilotpattern/hello-world.git
  2. cd hello-world
  3. docker-compose up -d
  4. open http://localhost

Overview

The application is divided into 4 parts:

  1. nginx - nginx server rendering static assets
  2. consul - service catalog used to keep track of registered services
  3. hello - Node.js service responding with the word "Hello"
  4. world - Node.js service responding with the word "World"

application configuration diagram

Hello World running on Triton

  1. ./triton-docker-setup.sh -k us-east-1.api.joyent.com <ACCOUNT> ~/.ssh/<PRIVATE_KEY_FILE>
  2. docker-compose up -d