Add readme to deploy subgraphs (#543)

This commit is contained in:
2023-09-27 12:15:51 +05:30
committed by GitHub
parent be519e9ca0
commit aafadbbed6
2 changed files with 77 additions and 5 deletions
+9 -5
View File
@@ -38,17 +38,21 @@ Initialize deployment and create "spec" file:
laconic-so --stack graph-node deploy init --output graph-node-spec.yml
```
We need to assign a fixed port `8000` for subgraph GQL endpoint and `8020` for subgraph deployment. The values can be
We need to assign fixed ports: `8000` for subgraph GQL endpoint, `8020` for subgraph deployment and `5001` for IPFS. The values can be
customized by editing the "spec" file generated by `laconic-so deploy init`.
```
$ cat graph-node-spec.yml
stack: graph-node
ports:
graph-node:
- '8000:8000'
- '8001'
- '8020:8020'
- '8030'
- '8000:8000'
- '8001'
- '8020:8020'
- '8030'
ipfs:
- '8080'
- '4001'
- '5001:5001'
...
```