Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
Fix bug (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuka authored Sep 8, 2018
1 parent 3c4ab07 commit dcbf087
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Versionfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.1
0.3.2
2 changes: 1 addition & 1 deletion cmd/blast/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var (
Name: "raft-node-id",
Value: raft.DefaultNodeID,
Usage: "Node ID",
EnvVar: "BLAST_NODE_ID",
EnvVar: "BLAST_RAFT_NODE_ID",
}
flRaftDir = cli.StringFlag{
Name: "raft-dir",
Expand Down
26 changes: 13 additions & 13 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
version: '2'
version: '3.7'
services:
blast1:
image: mosuka/blast:latest
restart: always
ports:
- 10000:10000
- 10001:10001
- 10002:10002
- 10000:10000
- 10001:10001
- 10002:10002
environment:
BLAST_BIND_ADDR: blast1:10000
BLAST_GRPC_ADDR: blast1:10001
BLAST_HTTP_ADDR: blast1:10002
BLAST_RAFT_NODE_ID: node1
BLAST_RAFT_NODE_ID: blast1
command: start

blast2:
image: mosuka/blast:latest
restart: always
ports:
- 11000:10000
- 11001:10001
- 11002:10002
- 11000:10000
- 11001:10001
- 11002:10002
environment:
BLAST_BIND_ADDR: blast2:10000
BLAST_GRPC_ADDR: blast2:10001
BLAST_HTTP_ADDR: blast2:10002
BLAST_RAFT_NODE_ID: node2
BLAST_RAFT_NODE_ID: blast2
BLAST_PEER_GRPC_ADDR: blast1:10001
command: start

blast3:
image: mosuka/blast:latest
restart: always
ports:
- 12000:10000
- 12001:10001
- 12002:10002
- 12000:10000
- 12001:10001
- 12002:10002
environment:
BLAST_BIND_ADDR: blast3:10000
BLAST_GRPC_ADDR: blast3:10001
BLAST_HTTP_ADDR: blast3:10002
BLAST_RAFT_NODE_ID: node3
BLAST_RAFT_NODE_ID: blast3
BLAST_PEER_GRPC_ADDR: blast1:10001
command: start

0 comments on commit dcbf087

Please sign in to comment.