A companion service to jwilder/nginx-proxy that publishes a list of services as JSON micro service.
1.7K
A simple companion service to jwilder/nginx-proxy that publishes a list of all running services behind the proxy as a simple JSON micro service.
This consists of an alpine based docker-gen container that generates a list of hosts and an nginx machine that serves those to the world.
See the docker-compose.yml for how this is intended to be set up. You will certainly will want to change the VIRTUAL_HOST entry in the file to match you deploy.
docker-compose up -d
docker-compose -f dev.yml build
docker-compose -f dev.yml up -d
docker run -d --name hostlist -v /var/run/docker.sock:/var/run/docker.sock:ro hairmare/nginx-proxy-hostlist
docker run -d --volumes-from hostlist -e VIRTUAL_HOST=hostlist.vcap.me hairmare/nginx-proxy-hostlist-web
Content type
Image
Digest
Size
6.9 MB
Last updated
about 8 years ago
docker pull hairmare/nginx-proxy-hostlist