consul-demo
consul-demo copied to clipboard
HashiCorp Consul Demo Application
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