|
1 |
| -# Node version to use for deployment |
2 |
| -NODE_VER=16 |
| 1 | +#--------------------------------- |
| 2 | +# SUBGRAPH CONFIGURATION SETTINGS |
| 3 | +#--------------------------------- |
| 4 | +# This file defines the default and optional configuration parameters for |
| 5 | +# subgraph development and both local and external deployment targets. |
| 6 | +# |
| 7 | +# It is suggested to create a copy of this file with, e.g., |
| 8 | +# cp docker/.env docker/custom.env |
| 9 | +# and uncomment and configure custom parameters and settings in the copy rather |
| 10 | +# than directly editing this file. The custom dotenv file sohuld be prepended |
| 11 | +# into the Taskfile.yml dotenv array to take precedence over any settings in |
| 12 | +# this file. |
3 | 13 |
|
4 |
| -# Docker image names to target for builds and container deployments |
5 |
| -HARDHAT_IMAGE_NAME=setprotocol/hardhat |
6 |
| -SET_IMAGE_NAME=setprotocol/base |
| 14 | +# USER CONFIGURABLE SETTINGS |
| 15 | +#---------------------------- |
7 | 16 |
|
8 |
| -# Subgraph version label to deploy |
| 17 | +# Subgraph Version Label for Deployment |
9 | 18 | # See: https://thegraph.com/docs/en/studio/deploy-subgraph-studio#deploying-a-subgraph-to-subgraph-studio
|
10 |
| -SUBGRAPH_VERSION=test-0.0.1 |
| 19 | +# SUBGRAPH_VERSION="0.0.1" |
| 20 | + |
| 21 | +# Hosted Service Target Network (see deployments.json for options) |
| 22 | +#NETWORK_HOSTED="mainnet" |
| 23 | + |
| 24 | +# Hosted Service Subgraph Access Token |
| 25 | +# This private access key is required to deploy a subgraph to the Hosted |
| 26 | +# Service and is tied to the original Github account (GITHUB_REPO) used to |
| 27 | +# deploy the subgraph. It must not be committed or shared publicly. |
| 28 | +# See: https://thegraph.com/docs/en/hosted-service/deploy-subgraph-hosted/#store-the-access-token |
| 29 | +#SUBGRAPH_ACCESS_TOKEN= |
| 30 | + |
| 31 | +# Github Repository Name for Hosted Service Deployments |
| 32 | +# Defaults to `justinkchen` as the original deployment linked repo tied to |
| 33 | +# the Set company ACCESS_TOKEN. Uncomment to override only if necessary. |
| 34 | +#GITHUB_REPO="justinkchen" |
| 35 | + |
| 36 | +# SetProtocol Subgraph Name for Deployment |
| 37 | +# Defaults to the existing name based on the target graph network if empty. |
| 38 | +# Uncomment and specify a name to override only if necessary. |
| 39 | +#SUBGRAPH_NAME= |
11 | 40 |
|
12 |
| -GITHUB_REPO=SetProtocol |
13 |
| -GRAPH_NAME=set-protocol-v2 |
14 | 41 |
|
15 |
| -# HARDHAT NODE (LOCAL) |
16 |
| -# -------------------- |
| 42 | +# DEFAULT CONFIGURATION SETTINGS |
| 43 | +#-------------------------------- |
| 44 | +# Do not change settings below unless you understand the consequences. |
| 45 | + |
| 46 | +# Node Version for Docker Images |
| 47 | +NODE_VER=16 |
| 48 | + |
| 49 | +# SetProtocol Base Docker Image Name |
| 50 | +SET_IMAGE_NAME=setprotocol/base |
| 51 | +# SetProtocol Hardhat Node Docker Image Name |
| 52 | +HARDHAT_IMAGE_NAME=setprotocol/hardhat |
| 53 | + |
| 54 | +# Hardhat Node Configuration |
17 | 55 | HARDHAT_IP=docker-hardhat-1
|
18 |
| -# HARDHAT_IP=docker_hardhat_run_45d1437ad006 |
19 | 56 | HARDHAT_PORT=8545
|
20 | 57 |
|
21 |
| -# LOCAL DEPLOYMENT PARAMS |
22 |
| -# ----------------------- |
23 |
| -ACCESS_TOKEN=test |
| 58 | +# Local Deployment Configuration |
| 59 | +LOCAL_ACCESS_TOKEN=test # note: only used locally, ignored in hosted deployments |
24 | 60 | IPFS_CONTAINER=docker-ipfs-1
|
25 | 61 | IPFS_PORT=5001
|
26 | 62 | GRAPH_NODE_CONTAINER=docker-graph-node-1
|
27 | 63 | GRAPH_NODE_PORT=8020
|
28 | 64 | NETWORK_LOCAL=hardhat
|
29 |
| -GRAPHQL_PORT=8000 # port on host for TCP access to Subgraph GraphQL |
| 65 | +GRAPHQL_PORT=8000 # port on host for TCP access to Subgraph GraphQL query tool |
30 | 66 |
|
31 |
| -# HOSTED DEPLOYMENT PARAMS |
32 |
| -# ------------------------ |
| 67 | +# Hosted Service Deployment Configuration |
33 | 68 | IPFS_HOSTED=https://api.thegraph.com/ipfs/
|
34 | 69 | GRAPH_NODE_HOSTED=https://api.thegraph.com/deploy/
|
35 |
| -# External network to deploy on (see deployments.json for options) |
36 |
| -NETWORK_HOSTED=mainnet |
|
0 commit comments