Skip to content

Commit

Permalink
README.md update mongodb commands
Browse files Browse the repository at this point in the history
  • Loading branch information
fb929 committed Jan 9, 2024
1 parent 0c443b2 commit 499e401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ Self-host for any-sync, designed for review and testing purposes.

* get current network config
```
docker compose exec mongo-1 mongosh coordinator
db.nodeConf.find().sort( { _id: -1 } ).limit(1)
docker compose exec mongo-1 mongosh 127.0.0.1:27001/coordinator
db.getMongo().setReadPref('primaryPreferred'); db.nodeConf.find().sort( { _id: -1 } ).limit(1)
```

## Set specific versions
Expand Down

0 comments on commit 499e401

Please sign in to comment.