.env 1.6 KB

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