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
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI. Switch between models without switching platforms.
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