.env 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. MAPPINGS_LOCATION=../../src
  35. TYPES_JSON=../../typedefs.json
  36. # Indexer GraphQL API endpoint to fetch indexed events
  37. INDEXER_ENDPOINT_URL=http://localhost:4100/graphql
  38. # Block height from which the processor starts. Note that if
  39. # there are already processed events in the database, this setting is ignored
  40. BLOCK_HEIGHT=0
  41. ###############################
  42. # Processor GraphQL API #
  43. ###############################
  44. GRAPHQL_SERVER_PORT=4100
  45. GRAPHQL_SERVER_HOST=localhost
  46. WARTHOG_APP_PORT=4100
  47. WARTHOG_APP_HOST=localhost