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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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