From 1caa8a0dc39d5a3150fee17e109d87d470f02db2 Mon Sep 17 00:00:00 2001 From: Shane Fontaine <9441295+shanefontaine@users.noreply.github.com> Date: Tue, 9 Jan 2024 14:28:07 -0800 Subject: [PATCH] Update instructions --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0a2065b..41ceeb8 100644 --- a/README.md +++ b/README.md @@ -60,9 +60,12 @@ export RPC=https://goerli.base.org # download docker-compose file wget https://raw.githubusercontent.com/hop-protocol/subgraph/master/docker-compose.yml -# start services (the `-d` is used to run in background) +# start services +# the `-d` is used to run in background +# the `--pull=always` is used to update the image when there is one available + # NOTE: The NETWORK and RPC are redundant, but sometimes cause issues if they do not exist -sudo RPC=https://rpc.linea.build NETWORK=linea docker compose up +sudo RPC=https://rpc.linea.build NETWORK=linea docker compose up --pull=always ``` After a minute or so the graph should be available at http://localhost:8000/subgraphs/name/hop-protocol/hop-base-goerli/graphql