Docker container for confd configured nginx based on etcd and registrator
415
Docker container for confd configured nginx based on etcd values generated by Registrator. Mainly for CoreOS cluster.
This docker image made for CoreOs cluster. You need working Registrators on every cluster nodes.
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)Content type
Image
Digest
Size
64.8 MB
Last updated
over 10 years ago
docker pull abcjava/nginx-confd-etcd