.env 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # Project name
  2. PROJECT_NAME=query_node
  3. ###########################
  4. # Common settings #
  5. ###########################
  6. # The env variables below are by default used by all services and should be
  7. # overriden in local env files (e.g. ./generated/indexer) if needed
  8. # DB config
  9. DB_NAME=query_node
  10. DB_USER=postgres
  11. DB_PASS=postgres
  12. DB_HOST=localhost
  13. DB_PORT=5432
  14. DEBUG=index-builder:*
  15. TYPEORM_LOGGING=error
  16. ###########################
  17. # Indexer options #
  18. ###########################
  19. # Substrate endpoint to source events from
  20. WS_PROVIDER_ENDPOINT_URI=ws://localhost:9944/
  21. # Block height to start indexing from.
  22. # Note, that if there are already some indexed events, this setting is ignored
  23. BLOCK_HEIGHT=0
  24. # Custom types to register for Substrate API
  25. # TYPE_REGISTER_PACKAGE_NAME=
  26. # TYPE_REGISTER_PACKAGE_VERSION=
  27. # TYPE_REGISTER_FUNCTION=
  28. # Redis cache server
  29. REDIS_URI=redis://localhost:6379/0
  30. ###########################
  31. # Processor options #
  32. ###########################
  33. # Where the mapping scripts are located, relative to ./generated/indexer
  34. # this env var is deprecated!
  35. MAPPINGS_LOCATION=../../src
  36. TYPES_JSON=../../typedefs.json
  37. # Indexer GraphQL API endpoint to fetch indexed events
  38. INDEXER_ENDPOINT_URL=http://localhost:4100/graphql
  39. # Block height from which the processor starts. Note that if
  40. # there are already processed events in the database, this setting is ignored
  41. BLOCK_HEIGHT=0
  42. ###############################
  43. # Processor GraphQL API #
  44. ###############################
  45. GRAPHQL_SERVER_PORT=4002
  46. GRAPHQL_SERVER_HOST=localhost
  47. WARTHOG_APP_PORT=4002
  48. WARTHOG_APP_HOST=localhost