A demo for consul
Switch branches/tags
Nothing to show
Clone or download
Latest commit 377c701 Apr 7, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
python_app Fix health check to app1 May 4, 2015
.gitignore Added IPython demo Mar 16, 2015
Consul.ipynb FIxed spelling Mar 16, 2015
LICENSE.md Initial Commit Mar 15, 2015
README.md Fix health check to app1 May 4, 2015
docker-compose.yml Updated for version 2 Apr 7, 2016


Consul Demo

This is a simple demo and introduction to consul.


Setup assumes a Mac running a modern version of OS X

  1. Install boot2docker
  2. Install docker-compose:
pip install docker-compose
  1. Clone this repo, run consul
git clone git@github.com:micahhausler/consul-demo.git
cd consul-demo/
docker-compose build
docker-compose up

See the UI


Check out the IPython notebook Consul by running:

pip install -r python_app/requirements.txt
ipython notebook --no-browser

and navigate to /notebooks/Consul.ipnb

Query the DNS API

You can query the consul DNS API once your containers are up by running:

dig @$(boot2docker ip) PythonApp.service.consul +tcp