If the Canto node you are using to sync is running on a different machine, change the RPC URL for the ethereum network in graph-node/docker/docker-compose.yml. Otherwise, the default value should work.
It is not necessary to change the name of the network, and doing so may require you to make additional config changes elsewhere.
Then run the setup file in graph-node/docker and start the node:
# Run setup
# Start Graph node
Optionally, use the --detach flag to start the Graph node in the background.
To deploy subgraphs to a Graph node, you'll need to create a subgraph specification consisting of both subgraph.yaml and schema.graphql files. Detailed information on creating subgraphs is available within The Graph's documentation.
For contracts implementing common token standards like ERC20, ERC721, or ERC1155, you can use the OpenZeppelin Subgraphs module to automatically generate a subgraph specification.
After compiling the specification files, run the following commands to create and deploy the subgraph: