mirror of
https://github.com/anyproto/any-sync-dockercompose.git
synced 2025-06-08 05:47:03 +09:00
Merge pull request #12 from anyproto/11-unable-to-generate-config
README.md update mongodb commands
This commit is contained in:
commit
84b6ecc29e
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