.env 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. COMPOSE_PROJECT_NAME=joystream
  2. PROJECT_NAME=query_node
  3. # We will use a single postgres service with multiple databases
  4. INDEXER_DB_NAME=query_node_indexer
  5. PROCESSOR_DB_NAME=query_node_processor
  6. DB_USER=postgres
  7. DB_PASS=postgres
  8. DB_HOST=localhost
  9. DB_PORT=5432
  10. DEBUG=index-builder:*
  11. TYPEORM_LOGGING=error
  12. ###########################
  13. # Indexer options #
  14. ###########################
  15. # Substrate endpoint to source events from
  16. WS_PROVIDER_ENDPOINT_URI=ws://localhost:9944/
  17. # Block height to start indexing from.
  18. # Note, that if there are already some indexed events, this setting is ignored
  19. BLOCK_HEIGHT=0
  20. # Redis cache server
  21. REDIS_URI=redis://localhost:6379/0
  22. ###########################
  23. # Processor options #
  24. ###########################
  25. # Where the mapping scripts are located, relative to ./generated/indexer
  26. TYPES_JSON=../../../types/augment/all/defs.json
  27. # Indexer GraphQL API endpoint to fetch indexed events
  28. INDEXER_ENDPOINT_URL=http://localhost:4000/graphql
  29. # Block height from which the processor starts. Note that if
  30. # there are already processed events in the database, this setting is ignored
  31. BLOCK_HEIGHT=0
  32. ###############################
  33. # Processor GraphQL API #
  34. ###############################
  35. GRAPHQL_SERVER_PORT=4002
  36. GRAPHQL_SERVER_HOST=localhost
  37. WARTHOG_APP_PORT=4002
  38. WARTHOG_APP_HOST=localhost