Chris Smith d3134060e7 Initial version | 8 lat temu | |
---|---|---|
Dockerfile | 8 lat temu | |
README.md | 8 lat temu | |
generate.py | 8 lat temu | |
nginx.tpl | 8 lat temu |
This uses my docker-service-reporter container to generate an nginx config file defining virtual hosts that proxy to docker containers with appropriate labels.
The service-reporter
container populates etcd
with details about
known containers.
This container monitors etcd
for a label specifying vhosts and proxy ports,
and puts them into a template file for nginx to use.
TODO: Finish this!
Then run this container. It takes the same arguments as service-reporter
:
--etcd-host (default: etcd) hostname where ectd is running
--etcd-port (default: 2379) port to connect to ectd on
--etcd-prefix (default: /docker) prefix to read keys from
--name (default: unknown) name of the host running docker