Skip to content

Commit

Permalink
added Mongo cluster docker compose yml file.
Browse files Browse the repository at this point in the history
  • Loading branch information
hantsy committed Aug 21, 2018
1 parent 113aa93 commit 7c50a4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ public void init() {

)
.subscribe(
null,
null,
v -> log.info("Ok"),
e -> log.error("error:" + e),
() -> log.info("done data initialization...")
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
mongo.uri=mongodb://localhost:27017/
# mongodb://username:mypasswd@hostname1:27017,hostname2:27017,hostname3:27017/dbname
mongo.uri=mongodb://localhost:27017,localhost:27018,localhost:27019/blog

0 comments on commit 7c50a4d

Please sign in to comment.