Skip to content

Commit 1f0f119

Browse files
committed
docker: Support multiple Ethereum networks
This splits up the `ethereum` environment variable into multiple strings and passes each value on to graph-node as a separate `--ethereum-rpc` argument. Prior to this, a value like ``` ethereum: "mainnet:... ropsten:..." ``` would be passed in as a single `--ethereum-rpc` argument and would fail to parse.
1 parent 9592fe2 commit 1f0f119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/start-node

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ set -x
55

66
graph-node \
77
--postgres-url "postgresql://$postgres_user:$postgres_pass@$postgres_host/$postgres_db" \
8-
--ethereum-rpc "$ethereum" \
8+
--ethereum-rpc $(echo $ethereum) \
99
--ipfs "$ipfs"

0 commit comments

Comments
 (0)