123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- # Project name
- PROJECT_NAME=query_node
- ###########################
- # Common settings #
- ###########################
- # The env variables below are by default used by all services and should be
- # overriden in local env files (e.g. ./generated/indexer) if needed
- # DB config
- DB_NAME=query_node
- DB_USER=postgres
- DB_PASS=postgres
- DB_HOST=localhost
- DB_PORT=5432
- DEBUG=index-builder:*
- TYPEORM_LOGGING=error
- ###########################
- # Indexer options #
- ###########################
- # Substrate endpoint to source events from
- WS_PROVIDER_ENDPOINT_URI=ws://localhost:9944/
- # Block height to start indexing from.
- # Note, that if there are already some indexed events, this setting is ignored
- BLOCK_HEIGHT=0
- # Custom types to register for Substrate API
- # TYPE_REGISTER_PACKAGE_NAME=
- # TYPE_REGISTER_PACKAGE_VERSION=
- # TYPE_REGISTER_FUNCTION=
- # Redis cache server
- REDIS_URI=redis://localhost:6379/0
- ###########################
- # Processor options #
- ###########################
- # Where the mapping scripts are located, relative to ./generated/indexer
- # this env var is deprecated!
- MAPPINGS_LOCATION=../../src
- TYPES_JSON=../../typedefs.json
- # Indexer GraphQL API endpoint to fetch indexed events
- INDEXER_ENDPOINT_URL=http://localhost:4100/graphql
- # Block height from which the processor starts. Note that if
- # there are already processed events in the database, this setting is ignored
- BLOCK_HEIGHT=0
- ###############################
- # Processor GraphQL API #
- ###############################
- GRAPHQL_SERVER_PORT=4002
- GRAPHQL_SERVER_HOST=localhost
- WARTHOG_APP_PORT=4002
- WARTHOG_APP_HOST=localhost
|