Public | Automated Build

Last pushed: a year ago
Short Description
Lighthouse is a simple service-discovery tool for Akka.Cluster.
Full Description

Lighthouse

Lighthouse is a simple service-discovery tool for Akka.Cluster, designed to make it easier to place nice with PaaS deployments like Azure / Elastic Beanstalk / AppHarbor.

How to use Lighthouse image

Example running single lighthouse instance.

docker run -d \
        --name lighthouse \
        editim/lighthouse \
        -port=4055 -actorsystem=mycluster -publichostname=lighthouse

Example running multiple instances in cluster

docker network create akka

docker run -d \
        --name lighthouse1 \
        --network=akka \
        editim/lighthouse \
        -port=4053 -actorsystem=mycluster -publichostname=lighthouse1 \
        -seeds="[\""akka.tcp://mycluster@lighthouse1:4053\"",\""akka.tcp://mycluster@lighthouse2:4054\"",\""akka.tcp://mycluster@lighthouse3:4055\""]"

docker run -d \
        --name lighthouse2 \
        --network=akka \
        editim/lighthouse \
        -port=4054 -actorsystem=mycluster -publichostname=lighthouse2 \
        -seeds="[\""akka.tcp://mycluster@lighthouse1:4053\"",\""akka.tcp://mycluster@lighthouse2:4054\"",\""akka.tcp://mycluster@lighthouse3:4055\""]"

docker run -d \
        --name lighthouse3 \
        --network=akka \
        editim/lighthouse \
        -port=4055 -actorsystem=mycluster -publichostname=lighthouse3 \
        -seeds="[\""akka.tcp://mycluster@lighthouse1:4053\"",\""akka.tcp://mycluster@lighthouse2:4054\"",\""akka.tcp://mycluster@lighthouse3:4055\""]"
Docker Pull Command
Owner
editim
Source Repository