Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description


Basic dockerized version of nginx what will auto generate a proxy configuration for all services with configuration in etcd.

  [{"ip":"", "port":"80"},{"ip":"","port":"80"}]

confd is setup in the container to run ever 5 minutes and check for changes to the above noted keys. If there are changes then a new config file is generated and nginx is reloaded.

By default the container will start confd watching etcd in the background and nginx in the foreground.

The confd script will need the environment variable HOST_IP set so it can connect to etcd. If you are not running etcd on port 4001 then you should set ETCD_PORT as well.

Docker Pull Command
Source Repository