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
Stop Storing Third-Party Tokens in Your Database Icon
Stop Storing Third-Party Tokens in Your Database

Auth0 Token Vault handles secure token storage, exchange, and refresh for external providers so you don't have to build it yourself.

Rolling your own OAuth token storage can be a security liability. Token Vault securely stores access and refresh tokens from federated providers and handles exchange and renewal automatically. Connected accounts, refresh exchange, and privileged worker flows included.
Try Auth0 for Free
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