Dockerfile and resources for running nginx reverse proxy with confd services.
You must have etcd running?
docker build -t nginx-confd .
Once the image is built, you can run it with
docker run -e ETCD_PORT=... -e HOST_IP=... -e confdKey=... nginx-confd
The port and IP default to 172.17.42.1:4001
and the confdKey defaults to
/service
.
This repository drew from this blog post and also uses this script.