DNS and Registrator
We'll cover the following
Introduction #
The microservices have code dependencies to the Consul API for registering. This is not necessary, a Registrator can register Docker containers with Consul without the need for code.
When the Docker containers are configured in such a way that they use Consul as a DNS server, the lookup of other microservices can also occur without code dependencies. This eliminates any dependencies on Consul in the project.
Get hands-on with 1400+ tech skills courses.