1
0
mirror of synced 2024-11-21 15:43:50 +00:00
Go to file
2020-07-07 11:03:36 +02:00
config Added support for multiple service instances 2020-07-07 11:03:36 +02:00
lib Added support for multiple service instances 2020-07-07 11:03:36 +02:00
.gitignore Added support for multiple service instances 2020-07-07 11:03:36 +02:00
consulwatcher.service Proof of concept 2020-07-03 07:07:40 +02:00
index.js Added support for multiple service instances 2020-07-07 11:03:36 +02:00
LICENSE Initial commit 2020-07-01 10:36:47 +02:00
package-lock.json Added support for multiple service instances 2020-07-07 11:03:36 +02:00
package.json Added support for multiple service instances 2020-07-07 11:03:36 +02:00
README.md Added support for multiple service instances 2020-07-07 11:03:36 +02:00

ConsulWatcher

This is a much simplified version of HashiCorp's Consul-Template, because what it accomplishes is awesome but I really dislike the Go template syntax. All configuration in this version is plain JavaScript.

It's main purpose is creating output files based on a Consul catalog, much like Consul-Template, but since the update handlers are just JavaScript functions you are free to do whatever you want, like calling a webservice or using a template library.