Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1017 Bytes

README.md

File metadata and controls

40 lines (30 loc) · 1017 Bytes

ClusterUplink

Libcluster strategy for uplink. This strategy will connect to the unix socket inside your container and retrieve service discovery endpoint. It will then call the endpoint and retrieve the list of instances to connect to.

Installation

If available in Hex, the package can be installed by adding libcluster_uplink to your list of dependencies in mix.exs:

def deps do
  [
    {:libcluster_uplink, "~> 0.1.0"}
  ]
end
config :libcluster,
  topologies: [
    example: [
      strategy: Cluster.Strategy.Uplink,
      config: [
        app_name: "your-app"
      ]
    ]
  ]

Configuration

Key Required Description
:app_name The name of your elixir application

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/libcluster_uplink.