mirror of
https://github.com/anyproto/any-sync-dockercompose.git
synced 2025-06-08 05:47:03 +09:00
README.md update mongodb commands
This commit is contained in:
parent
0c443b2d91
commit
499e401376
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue