Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker container for confd configured nginx based on etcd and registrator
Full Description

nginx-confd-etcd

Dockerfile

Docker container for confd configured nginx based on etcd values generated by Registrator. Mainly for CoreOS cluster.

Pre-Requirements for cluster configuration

This docker image made for CoreOs cluster. You need working Registrators on every cluster nodes.

How to use this image

docker run --name nginx.abc.ordina.nl -p 80:80 -e NGINX_BACKEND_SERVICE=abc.ordina.nl -e HOST_IP=127.0.0.1 -e ETCD_PORT=4001 abcjava/nginx-confd-etcd

The following environment variables available:

  • -e NGINX_BACKEND_SERVICE=... (name of backend service instance, example.com in our example)
  • -e HOST_IP=... (IP of etcd)
  • -e ETCD_PORT=... (public port of etcd default: 4001)
  • -e NGINX_WORKER_PROCESSES=... (number of nginx worker processes, default: cpu x 2)

Usefull links

Docker Pull Command
Owner
abcjava
Source Repository

Comments (0)