Skip to content

Dummy app for testing different clustering strategies

Notifications You must be signed in to change notification settings

flowerett/cluster21

Repository files navigation

ClusterTest

A Basic phoenix app to test librancher with OTP21

$ docker-compose up -d --build
$ docker-compose logs -f node1
$ docker-compose logs -f node2

currently connected:

node2_1  | 09:55:08.971 [info] [libcluster:dns_poll_example] connected to :"[email protected]"
node2_1  | 09:55:09.029 [info] Running ClusterTestWeb.Endpoint with Cowboy using http://:::4000

also it's possible to check with a console:

docker-compose run --rm node1 console
09:56:16.032 [info] [libcluster:dns_poll_example] connected to :"[email protected]"
Interactive Elixir (1.6.6) - press Ctrl+C to exit (type h() ENTER for help)
iex([email protected])1> Node.self
:"[email protected]"
iex([email protected])2> Node.list
[:"[email protected]", :"[email protected]"]

About

Dummy app for testing different clustering strategies

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published