.env 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. COMPOSE_PROJECT_NAME=joystream
  2. PROJECT_NAME=query_node
  3. # We will use a single postgres service with multiple databases
  4. # The env variables below are by default used by all services and should be
  5. # overriden in local env files
  6. # DB config
  7. INDEXER_DB_NAME=query_node_indexer
  8. DB_NAME=query_node_processor
  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. 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. # Redis cache server
  26. REDIS_URI=redis://localhost:6379/0
  27. ###########################
  28. # Processor options #
  29. ###########################
  30. # Where the mapping scripts are located
  31. TYPES_JSON=./types/augment/all/defs.json
  32. # Indexer GraphQL API endpoint to fetch indexed events
  33. INDEXER_ENDPOINT_URL=http://localhost:4000/graphql
  34. # Block height from which the processor starts. Note that if
  35. # there are already processed events in the database, this setting is ignored
  36. BLOCK_HEIGHT=0
  37. ###############################
  38. # Processor GraphQL API #
  39. ###############################
  40. GRAPHQL_SERVER_PORT=4002
  41. GRAPHQL_SERVER_HOST=localhost
  42. WARTHOG_APP_PORT=4002
  43. WARTHOG_APP_HOST=localhost