Auto service discovery and linking for Docker
Adapted from binocarlos/arpanet
envoy
is a thin wrapper for:
- consul - service discovery and K/V store
- cadvisor - container metrics
- ambassadord - auto tcp forwards
- registrator - auto service registering
$ export HOSTNAME=$(hostname)
$ export PRIVATE_IP=$(ifconfig eth0 | awk -F ' *|:' '/inet addr/{print $4}')
$ sudo sh -c 'curl -L https://raw.githubusercontent.com/ntran13/envoy/master/envoy > /usr/local/bin/envoy'
$ sudo chmod a+x /usr/local/bin/envoy
$ sudo -E envoy setup
$ envoy pull
$ envoy consul boot 1
$ envoy start
//TODO