Simple service registrator for Lyft/discovery
Environment variables for Docker container:
ENVIRONMENT
- environment (AWS or DOCKER, last one for local run)DISCOVERY_URL
- URL of Lyft/discoveryPROXY_NETWORK_ALIAS
- Docker network alias of container where Envoy is running. Only important for DOCKER environment, then registrator will try to find Envoy's IPPROXY_HOST_PORT
- port of the proxy for ingress trafficSERVICE_NAME
- name of the serviceREFRESH_INTERVAL
- refresh interval in seconds, default is 10METRICS_PORTS
- comma separated list of ports there metrics could be found, for example8001,10000