Public Repository

Last pushed: 3 months ago
Short Description
nginx:alpine plus consul-template, a basic run script, and some configs
Full Description

nginx:alpine plus consul-template, run script, and configs

This is intended to be used for blue-green deployments. The run script starts nginx, then consul-template persistently updating and reloading the nginx config (ignoring errors, so consul-template keeps running). The configuration provided relies on environment variables (DE_ENV, NGINX_PROXY_SERVICE_NAME, and NGINX_PROXY_PORT) to create a dynamically-updating proxy on NGINX_PROXY_PORT for services in consul matching DE_ENV.NGINX_PROXY_SERVICE_NAME, with a tag matching the color in DE_ENV/NGINX_PROXY_SERVICE_NAME/color in consul's k/v store.

Docker Pull Command