Skip to content

joost-de-vries/akka-sample-cluster-docker-compose-scala

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

akka-docker-cluster-example

An example akka-cluster project with docker support. See the blog post. Uses SBT Native Packager.

How to Run

In SBT, just run docker:publishLocal to create a local docker container.

To run the cluster, run docker-compose up. This will create 3 nodes, a seed and two regular members, called seed, c1, and c2 respectively.

While running, try opening a new terminal and (from the same directory) try things like docker-compose stop seed or docker network disconnect akka-sample-cluster-docker-compose-scala_default akka-sample-cluster-docker-compose-scala_seed_1 and watch the cluster nodes respond.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 80.6%
  • Shell 19.4%