eBayClassifiedsGroup / PanteraS

PanteraS - PaaS - Platform as a Service in a box
GNU General Public License v2.0
199 stars 61 forks source link

Accessing consul services inside container #250

Closed cookandy closed 7 years ago

cookandy commented 7 years ago

Just wondering how you are handling services which need to talk to each other from inside containers? For example, container a needs to be able to talk to b.service.consul.

One option is to map /etc/resolv.conf inside the container. Is there a better way? My slaves currently point to my masters for DNS...

sielaq commented 7 years ago

We have a dedicated DNS that forward zone *.service.consul to consul, so services can resolve each other.

cookandy commented 7 years ago

thanks very much!