.env 1.5 KB

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