Setup with Docker
The most straightforward process of setting up all required elements is using docker compose.
The required services are:
A Graph-Node that orchestrates all other services to achieve indexing and data retrieval
An IPFS node to store uploaded subgraphs and provide files, if necessary
Postgres DB to store the indexed data
VeChainThorNode to provide access to Blockchain data
RPC-Proxy that adds RPC compatibility on top of the VeChainThorNode
The docker-compose.yml
combining all services is:
If save and run it, you will instantly start indexing VeChain and track its latest status:
The following services will be available:
URL | Service | Description |
---|---|---|
http://localhost:8000 | GraphQL Service | Web application to build queries with an interface |
http://localhost:8001 | GraphQL WebSocket Service | WebSocket connectivity |
http://localhost:8020 | Admin API | Provides access to manage Subgraphs, should never be made public |
http://localhost:8030/graphql | Admin GraphQL Service | Web application to query subgraph details |
http://localhost:5001 | IPFS | Access to the IPFS Node |
| Postgres | Database access |
http://localhost:8545 | RPC | RPC Interface to VeChain |
Data is stored in data/
directory and persists between restarts.
Last updated