Set default values for RPC endpoint in graph-node
This commit is contained in:
parent
0ea81c1f68
commit
1428169450
@ -18,7 +18,7 @@ services:
|
|||||||
postgres_user: graph-node
|
postgres_user: graph-node
|
||||||
postgres_pass: password
|
postgres_pass: password
|
||||||
postgres_db: graph-node
|
postgres_db: graph-node
|
||||||
ethereum: ${NETWORK}:${ETH_RPC_ENDPOINT}
|
ethereum: ${NETWORK:-filecoin}:${ETH_RPC_ENDPOINT:-https://archive.lotus.vdb.to/rpc/v1}
|
||||||
GRAPH_LOG: debug
|
GRAPH_LOG: debug
|
||||||
ETHEREUM_REORG_THRESHOLD: 3
|
ETHEREUM_REORG_THRESHOLD: 3
|
||||||
ports:
|
ports:
|
||||||
|
@ -32,18 +32,10 @@ laconic-so --stack sushiswap-subgraph build-containers
|
|||||||
|
|
||||||
## Deploy
|
## Deploy
|
||||||
|
|
||||||
Create an env file to be used in the next step:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Network and ETH RPC endpoint to run graph-node against
|
|
||||||
NETWORK=filecoin
|
|
||||||
ETH_RPC_ENDPOINT=
|
|
||||||
```
|
|
||||||
|
|
||||||
Deploy the stack:
|
Deploy the stack:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
laconic-so --stack sushiswap-subgraph deploy --cluster sushigraph --env-file <PATH_TO_ENV_FILE> up
|
laconic-so --stack sushiswap-subgraph deploy --cluster sushigraph up
|
||||||
|
|
||||||
# Note: Remove any existing volumes for the cluster for a fresh start
|
# Note: Remove any existing volumes for the cluster for a fresh start
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user