From f284565e73eff8956e70da4348feaeed03e7f9e4 Mon Sep 17 00:00:00 2001 From: Grigory Efimov Date: Tue, 15 Aug 2023 17:13:19 +0300 Subject: [PATCH] refactoring README.md --- README.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e140bab..7117601 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ -# test stand in docker-compose +# test stand (self-host) in docker-compose +self-host for any-sync +intended for review and testing +[!IMPORTANT] +** please don't use it for production!** ## prepare * Creating a personal access token, instruction: @@ -45,26 +49,28 @@ ``` * attach to vm: ``` - docker compose exec mongo bash + docker compose exec mongo-1 bash docker compose exec any-type-node-1 bash docker compose exec any-sync-coordinator bash ``` * get current network config ``` - docker compose exec mongo mongosh coordinator + docker compose exec mongo-1 mongosh coordinator db.nodeConf.find().sort( { _id: -1 } ).limit(1) ``` ## set specific versions use file .env -### minimal versions -* any-sync-coordinator v0.0.10 -* any-sync-filenode v0.1.5 -* any-sync-node v0.0.31 -* any-sync-consensusnode v0.0.4 +### compatible versions +you cat find compatible versions on this pages: +* stable versions, used on production - https://puppetdoc.anytype.io/api/v1/prod-any-sync-compatible-versions/ +* unstable versions, used on test stand - https://puppetdoc.anytype.io/api/v1/stage1-any-sync-compatible-versions/ ## usage "local build" images +if you need to make local build binaries for any-sync-* +you can doing it by using "overrides" functional in docker-compose + * clone repos ``` install -d repos && for REPO in any-sync-{node,filenode,coordinator,consensusnode}; do if [[ ! -d repos/$REPO ]]; then git clone git@github.com:anyproto/${REPO}.git repos/$REPO; fi; done