TODO: Add description
If available in Hex, the package can be installed
by adding libcluster_consul
to your list of dependencies in mix.exs
:
def deps do
[
{:libcluster_consul, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/libcluster_consul.
Least required config is only consul service name
config :libcluster,
topologies: [
consul_example: [
strategy: ClusterConsul.Strategy,
config: [
service_name: "teamweek-core"
]
]
]