diff --git a/app/data/compose/docker-compose-fixturenet-graph-node.yml b/app/data/compose/docker-compose-fixturenet-graph-node.yml index b1c6eb88..c4737195 100644 --- a/app/data/compose/docker-compose-fixturenet-graph-node.yml +++ b/app/data/compose/docker-compose-fixturenet-graph-node.yml @@ -6,6 +6,7 @@ services: condition: service_healthy ipfs: condition: service_healthy + # Uncomment when running against fixturenet-lotus to wait for the Lotus node to come up # lotus-node-1: # condition: service_healthy extra_hosts: @@ -17,9 +18,7 @@ services: postgres_user: graph-node postgres_pass: password postgres_db: graph-node - # TODO: Get endpoint from env - # ethereum: 'lotus-fixturenet:http://lotus-node-1:1234/rpc/v1' - ethereum: 'filecoin:https://archive.lotus.vdb.to/rpc/v1' + ethereum: ${NETWORK}:${ETH_RPC_ENDPOINT} GRAPH_LOG: debug ETHEREUM_REORG_THRESHOLD: 3 ports: diff --git a/app/data/pod-list.txt b/app/data/pod-list.txt index c6e55b8d..2e837c36 100644 --- a/app/data/pod-list.txt +++ b/app/data/pod-list.txt @@ -32,3 +32,5 @@ lasso reth watcher-sushiswap contract-sushiswap +fixturenet-graph-node +sushiswap-subgraph-v3 diff --git a/app/data/stacks/sushiswap-subgraph/README.md b/app/data/stacks/sushiswap-subgraph/README.md index 473bfbf1..0ee6f09a 100644 --- a/app/data/stacks/sushiswap-subgraph/README.md +++ b/app/data/stacks/sushiswap-subgraph/README.md @@ -32,10 +32,18 @@ laconic-so --stack sushiswap-subgraph build-containers ## 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: ```bash -laconic-so --stack sushiswap-subgraph deploy --cluster sushigraph up +laconic-so --stack sushiswap-subgraph deploy --cluster sushigraph --env-file up # Note: Remove any existing volumes for the cluster for a fresh start ```