etcd discovery service
Go Shell
Switch branches/tags
Nothing to show
Clone or download
gyuho Merge pull request #56 from ericchiang/coc
automated PR: update CoC and legalese
Latest commit 8a28a24 Jan 4, 2018

This code powers the public service at The API is documented in the etcd clustering documentation.


The service has three configuration options, and can be configured with either runtime arguments or environment variables.

  • --addr / DISC_ADDR: the address to run the service on, including port.
  • --host / DISC_HOST: the host url to prepend to /new requests.
  • --etcd / DISC_ETCD: the url of the etcd endpoint backing the instance.

Docker Container

You may run the service in a docker container:

docker pull
docker run -d -p 80:8087 -e DISC_ETCD= -e DISC_HOST=

Development uses devweb for easy development. It is simple to get started:

curl --verbose -X PUT localhost:8087/new