tree: 062bf3e6389152abd0fc6aa813f1da1f05cae7be [path history] [tgz]
  1. project/
  2. scripts/
  3. src/
  4. build.sbt
  5. docker-compose.yml
  6. LICENSE
  7. README.md
pekko-sample-cluster-docker-compose-java/README.md

pekko-sample-cluster-docker-compose-java

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

This sample is based on akka-sample-cluster-docker-compose-java.

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 down seed and watch the cluster nodes respond.