Giter Site home page Giter Site logo

akka-docker-cluster-example's Introduction

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

akka-docker-cluster-example's People

Contributors

evildethow avatar ktoso avatar mhamrah avatar notbobthebuilder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

akka-docker-cluster-example's Issues

docker:publishLocal failed for me

Hello,

Followed directions and in sbt did docker:publishLocal. Got the error below:

docker:publishLocal
[info] Packaging /Users/Greg/git/akka-docker-cluster-example/target/scala-2.11/clustering_2.11-0.3-sources.jar ...
[info] Done packaging.
[info] Wrote /Users/Greg/git/akka-docker-cluster-example/target/scala-2.11/clustering_2.11-0.3.pom
[info] Main Scala API documentation to /Users/Greg/git/akka-docker-cluster-example/target/scala-2.11/api...
[info] Packaging /Users/Greg/git/akka-docker-cluster-example/target/scala-2.11/clustering_2.11-0.3.jar ...
[info] Done packaging.
model contains 7 documentable templates
[info] Main Scala API documentation successful.
[info] Packaging /Users/Greg/git/akka-docker-cluster-example/target/scala-2.11/clustering_2.11-0.3-javadoc.jar ...
[info] Done packaging.
[info] Step 0 : FROM dockerfile/java:latest
[info] Pulling repository dockerfile/java
[error] 2015/05/06 14:04:42 Error: image dockerfile/java not found
[trace] Stack trace suppressed: run last docker:publishLocal for the full output.
error Nonzero exit value: 1
[error] Total time: 5 s, completed May 6, 2015 7:04:42 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.