Skip to content

Commit

Permalink
Merge pull request #65 from edkellena/master
Browse files Browse the repository at this point in the history
fix the docker-compose file to spin up an example cluster.  closes #64
  • Loading branch information
Travis Jeffery authored Oct 19, 2017
2 parents 8b4c40a + cf500bd commit b89b3d6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ services:
build:
context: .
image: travisjeffery:jocko
command: jocko broker --id 0 --raft-addr=jocko_a:9093

jocko_b:
build:
context: .
image: travisjeffery:jocko
command: jocko broker --serf-members=jocko_a:9094
command: jocko broker --serf-members=jocko_a:9094 --id 1 --raft-addr=jocko_b:9093

jocko_c:
build:
context: .
image: travisjeffery:jocko
command: jocko broker --serf-members=jocko_a:9094
command: jocko broker --serf-members=jocko_a:9094 --id 2 --raft-addr=jocko_c:9093

0 comments on commit b89b3d6

Please sign in to comment.