pnxtech / hydra

A light-weight library for building distributed applications such as microservices
https://www.hydramicroservice.com
MIT License
645 stars 54 forks source link

DNS and load balancing improvements #130

Closed cjus closed 7 years ago

cjus commented 7 years ago
{
  "hydra": {
    "serviceDNS": "hello-service",
    "servicePort": 5000,
    :
  }
}

If that entry is present Hydra will ignore the serviceIP field. This feature will be useful where hydra-enabled services are load balanced by and external load balancer such as NginX or Docker swarm orchestration.