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