Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 810 Bytes

README.md

File metadata and controls

36 lines (28 loc) · 810 Bytes

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]"]