Skip to content

pranavcode/consul-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HashiCorp Consul Demo

This code demo is accompanied complements the blog post series - The Practical Guide to HashiCorp Consul - Part 1 and Part 2 - published on Velotio Blog.

Pre-requisites

Build and run

Build

docker-compose build

Run

docker-compose up

Build and run in one command

docker-compose up --build -d

Consul Server

You can visit Consul Server container with the IP it's container was assigned. For instance, in our case it was http://33.10.0.2:8500/ui.

Django Web App via Fabio LB

You can visit Django web app on 33.10.0.100:9999/web.

Bring down the docker

docker-compose down