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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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