From b50d9f9ae88003a058aded86f9d2cbae9ee5e4d5 Mon Sep 17 00:00:00 2001 From: Alex Grin <362784+lyoshenka@users.noreply.github.com> Date: Wed, 19 Oct 2022 13:05:48 -0400 Subject: [PATCH] Updated Setting up a Hub (markdown) --- Setting-up-a-Hub.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Setting-up-a-Hub.md b/Setting-up-a-Hub.md index 4732b54..9946c1c 100644 --- a/Setting-up-a-Hub.md +++ b/Setting-up-a-Hub.md @@ -40,10 +40,10 @@ sudo systemctl enable containerd.service ## create lbcd and rocksdb volumes ``` -mkdir /home/lbry/docker-volumes +mkdir -p /home/lbry/docker-volumes/lbcd /home/lbry/docker-volumes/rocksdb sudo chown -R 999:999 /home/lbry/docker-volumes -docker volume create --driver local --opt type=none --opt device=/home/lbry/docker-volumes --opt o=bind lbcd -docker volume create --driver local --opt type=none --opt device=/home/lbry/docker-volumes --opt o=bind lbry_rocksdb +docker volume create --driver local --opt type=none --opt device=/home/lbry/docker-volumes/lbcd --opt o=bind lbry_lbcd +docker volume create --driver local --opt type=none --opt device=/home/lbry/docker-volumes/rocksdb --opt o=bind lbry_rocksdb ``` @@ -64,6 +64,12 @@ wget LINK TO DOCKER COMPOSE ## start lbcd first and let it catch up +``` +docker compose up -d lbcd +``` + +wait for it to sync fully (how will they know?) + ## then start scribe and let it sync (takes two days) ## then start the rest of the docker-compose