Hacker News new | ask | show | jobs
by Loic 4439 days ago
Short question: Can I define the IP of the service in the service definition?

From the service definition[0] it looks like the IP is always the IP of the node hosting `/etc/consul.d/*` files. I am thinking about it in a scenario where each service (running in a container) is getting an IP address on a private network which is not the IP of the node.

[0]: http://www.consul.io/docs/agent/services.html

Update: An external service is possible: http://www.consul.io/docs/guides/external.html