A wrapper for HashiCorp Consul to aid deployment inside Docker Swarm.
The deployment spec defined the following network interfaces:
public_network
: The interface that allow external communication to the Consul agent. By default thepublic_network
is bound to theeth0
interface.server_network
: The interface that allow communication between Consul servers. By default theserver_network
is bound to theeth1
interface.host_network
: The interface that allow communication between the Consul agent and the host. By default thehost_network
is bound to theeth3
interface.
Note
The eth2
interface is reserved for ingress
traffic. This is the default interface for Docker Swarm ingress network.