1
0
Fork 0
mirror of https://github.com/anyproto/any-sync-dockercompose.git synced 2025-06-08 05:47:03 +09:00

Update README.md

This commit is contained in:
Sergey Fuksman 2024-01-22 21:50:47 +02:00 committed by GitHub
parent 7fd184a2b1
commit aac08c90ae
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -65,11 +65,17 @@ Self-host for any-sync, designed for review and testing purposes.
db.getMongo().setReadPref('primaryPreferred'); db.nodeConf.find().sort( { _id: -1 } ).limit(1)
```
* run client
* run client (GUI)
Use `<pathToRepo>/any-sync-dockercompose/etc/client.yml` as a network configuration for the clients.
See [the documentation](https://doc.anytype.io/anytype-docs/data-and-security/self-hosting#switching-between-networks) for more details.
* run client (CLI)
```
# macos example
ANYTYPE_LOG_LEVEL="*=DEBUG" ANYPROF=:6060 ANY_SYNC_NETWORK=<pathToRepo>/any-sync-dockercompose/etc/client.yml /Applications/Anytype.app/Contents/MacOS/Anytype
```
## configuration
Use file .env
* Set specific versions: find and edit variables with suffix "_VERSION"