8000 GitHub - LubinWang/consul-demo: A little taste of Consul for configuration management.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

LubinWang/consul-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Consul-Demo

A little taste of Consul for configuration management.

Why

  • You need help managing configuration settings
  • You want different settings across your environments
  • You need to change your configuration as your environment changes
  • You don't want to manage env-specific values with your source code

What

  • Consul: Service Discovery and configuration made easy.
  • Key/Value Store, Service Registry, Change Notification, DNS Service
  • You can use without going "all-in".
  • No docker required (but docker friendly).

How? - Basic Config

How? - File Templating

  • consul-template lets you write config files (similar to confd)
  • Monitors consul, writes new file
  • Optionally will trigger a command, like reloading HAProxy

Docker Friendly

Explore This Repo

  • An Ubuntu 14.04 Vagrantfile, with a shell provisioner for installing consul and friends
  • start-consul-standalone, a helper script to start a standalone server (no clustering required)
  • envconsul sample scripts, including a simple python web app
  • consul-template sample scripts for an haproxy config file, with health checks

About

A little taste of Consul for configuration management.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 73.3%
  • Python 15.9%
  • HCL 10.8%
0