Skip to content

Commit

Permalink
fix the docker-compose file to spin up an example cluster. closes #64
Browse files Browse the repository at this point in the history
  • Loading branch information
beastawakens committed Oct 19, 2017
1 parent 8b4c40a commit cf500bd
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 cf500bd

Please sign in to comment.