hauleth / consulate

Erlang port mapper module that uses Consul instead of EPMD
Apache License 2.0
12 stars 2 forks source link
consul distribution erlang

Consulate

The implementation of erl_epmd-compatible module that uses Consul for node discover instead of EPMD.

Usage

Add project to your dependencies

Erlang:

{deps, [consulate]}.

Elixir:

defp deps do
  [
    {:consulate, "~> 0.0"}
  ]
end

And then run your application with

-epmd_module consulate -start_epmd false

Configuration

You can change default erlang-node service name via -consul_service flag to erl. Beware that all nodes that want to be connected need to use the same service name.

Consul connection options are set via application environment. Supported options are:

License

See LICENSE