Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Volt Grid Nginx and Consul-template

This image run an Nginx server and consul-template to configure it.

Place you consul-template config files into /consul-template/config/ and templates into /consul-template/templates/

A config file should look like

template {
  source = "/consul-template/templates/test.tmpl"
  destination = "/consul-template/output/test.conf"
  command = "nginx-reload"

nginx-reload safely reloads nginx so that bad config changes are reverted and applies some rate limiting to reloads.

If you are completly overwriting the /consul-template/templates directory you should include the following config file.

# file: /consul-template/config/00-consul.conf
consul = "consul.service.consul:8500"
retry = "10s"
max_stale = "10m"

This image used s6 process supervisor. Check out and for info.

Docker Pull Command
Source Repository