Confsul
Configure your Elixir apps using Consul
Configuration
Set your Consul client configuration in the config.exs
config :consul,
host: "consul",
port: 8500
Set the Consul folder where your keys are in the config.exs
config: :app_name,
consul_folder: "/path/"
Use
Load the config process using your app name
Confsul.Config.start(:app_name)
Installation
If available in Hex, the package can be installed
by adding confsul to your list of dependencies in mix.exs:
def deps do
[{:confsul, "~> 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/confsul.