Sign inSign up

art19/nginx-consul

By art19

•Updated over 4 years ago

Official Nginx image with Consul Template (forked from jihchi/nginx-consul)

Artifact
Image
0

1.4K

art19/nginx-consul repository overview

Build Status Docker Stars Docker Pulls

⁠Nginx with Consul Template

This Docker image follows official Nginx image extended with Consul Template to allow to refresh configuration based on the changes in Consul repository

⁠How-to

Create your data volume image and place required configuration files based on the following matrix:

  • /etc/nginx/conf.d -> nginx configuration
  • /etc/consul-template/conf -> Consul Template configurations taken and merged alphabetically - https://github.com/hashicorp/consul-template⁠
  • /etc/consul-template/templates -> a good place to situate your templates defined in the configuration

⁠Run

docker run --rm --volumes-from=yourdata-image -ti art19/nginx-consul

Tag summary

Content type

Image

Digest

Size

68.8 MB

Last updated

over 4 years ago

docker pull art19/nginx-consul