This project provides a convenient way to populate values from Consul into the file system using the consul-template daemon. The daemon consul-template queries a Consul or Vault cluster and updates any number of specified templates on the file system. As an added bonus, it can optionally run arbitrary commands when the update process completes. Please see the examples folder for some scenarios where this functionality might prove useful. While there are multiple ways to run Consul Template, the most common pattern is to run Consul Template as a system service. When Consul Template first starts, it reads any configuration files and templates from disk and loads them into memory. From that point forward, changes to the files on disk do not propagate the running process without a reload.

Features

  • The consul-template user in docker has a UID of 100 and a GID of 1000
  • By default Consul Template is highly fault-tolerant
  • Configuration management tools are designed to be used in unison with Consul Template
  • Consul Template does an n-pass evaluation of templates
  • The Alpine Docker image is configured to support an external volume to render shared templates to
  • Consul Template can print verbose debugging output

Project Samples

Project Activity

See All Activity >

Categories

Admin Templates

License

Mozilla Public License 2.0 (MPL 2.0)

Follow Consul Template

Consul Template Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Consul Template!

Additional Project Details

Operating Systems

Windows

Programming Language

Go

Related Categories

Go Admin Templates

Registered

2021-12-13