Skip to content

Commit

Permalink
add replicaset flag to docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
v9n committed Dec 18, 2019
1 parent 956df8c commit 94c4b8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ services:
image: mongo
volumes:
- mongo:/data/db
command:
- mongod
- --replSet
- noty
ports:
- 27017:27017

Expand Down

0 comments on commit 94c4b8d

Please sign in to comment.