Updated Setting up a Hub (markdown)

Alex Grin 2022-10-19 13:05:48 -04:00
parent 7e5af65877
commit b50d9f9ae8

@ -40,10 +40,10 @@ sudo systemctl enable containerd.service
## create lbcd and rocksdb volumes ## 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 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/lbcd --opt o=bind lbry_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/rocksdb --opt o=bind lbry_rocksdb
``` ```
@ -64,6 +64,12 @@ wget LINK TO DOCKER COMPOSE
## start lbcd first and let it catch up ## 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 scribe and let it sync (takes two days)
## then start the rest of the docker-compose ## then start the rest of the docker-compose