Updated Setting up a Hub (markdown)
parent
d4d45d1527
commit
79a390248d
1 changed files with 29 additions and 3 deletions
|
@ -96,19 +96,45 @@ docker compose up -d scribe
|
||||||
|
|
||||||
wait for it to sync
|
wait for it to sync
|
||||||
|
|
||||||
## Elastic Sync
|
## Elastic and Elastic Sync
|
||||||
|
|
||||||
### then start elastic sync and wait for that
|
### first start elastic and wait for it to load the snapshot
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose up -d es01
|
||||||
|
```
|
||||||
|
|
||||||
|
you can check the loading progress by running `curl localhost:9200/claims/_count`
|
||||||
|
|
||||||
|
once the count stops going up, start elastic sync
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker compose up -d scribe_elastic_sync
|
docker compose up -d scribe_elastic_sync
|
||||||
```
|
```
|
||||||
|
|
||||||
wait for it to sync
|
it should take a few hours to sync. you'll know its done when the log messages (`docker compose logs`) say they're advancing to the latest block. here's an example:
|
||||||
|
|
||||||
|
```
|
||||||
|
scribe_elastic_sync_1 | 2023-01-12 15:02:50,801 INFO hub.service.ElasticSyncService:236: advancing to 1292266
|
||||||
|
scribe_elastic_sync_1 | 2023-01-12 15:02:59,100 INFO hub.service.ElasticSyncService:330: Indexing block 1292266 done. 240/240 successful
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Herald
|
## Herald
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose up -d herald
|
||||||
|
```
|
||||||
|
|
||||||
|
## Firewall
|
||||||
|
|
||||||
|
open the following ports in your firewall
|
||||||
|
|
||||||
|
- `22` for ssh
|
||||||
|
- `9246` for lbcd
|
||||||
|
- `50001` for herald
|
||||||
|
- `2113` and `2113` for prometheus monitoring
|
||||||
|
|
||||||
## Monitoring
|
## Monitoring
|
||||||
|
|
||||||
start prometheus and grafana
|
start prometheus and grafana
|
||||||
|
|
Loading…
Add table
Reference in a new issue