Skip to content

tmlbl/akka-docker-cluster

Repository files navigation

Akka & Docker

For a detailed description read this blog entry.

sbt docker:publishLocal
docker run --name seed-1 -d akka-docker-cluster:2.3.4 --seed
export SEED_1_IP=$(docker inspect --format="{{.NetworkSettings.IPAddress}}" seed-1)
docker run --name seed-2 -d akka-docker-cluster:2.3.4 --seed $SEED_1_IP:2551
export SEED_2_IP=$(docker inspect --format="{{.NetworkSettings.IPAddress}}" seed-2)
docker run --name node-1 -d akka-docker-cluster:2.3.4 $SEED_1_IP:2551 $SEED_2_IP:2551
docker run --name node-2 -d akka-docker-cluster:2.3.4 $SEED_1_IP:2551 $SEED_2_IP:2551

SBT - none docker

Of course you can run your cluster within sbt for test purposes.

sbt runSeed
sbt runNode

Setup Activator

  1. Download Typesafe Activator (or copy it over from a USB)
  2. Extract the zip and run the activator or activator.bat script from a non-interactive shell
  3. Your browser should open to the Activator UI: http://localhost:8888

Links and References

About

Fooling around with the Play framework Akka and Docker template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages