.env 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. PROCESSOR_DB_NAME=query_node_processor
  9. DB_NAME=query_node_processor
  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. DEBUG=index-builder:*
  17. TYPEORM_LOGGING=error
  18. ###########################
  19. # Indexer options #
  20. ###########################
  21. # Substrate endpoint to source events from
  22. WS_PROVIDER_ENDPOINT_URI=ws://localhost:9944/
  23. # Block height to start indexing from.
  24. # Note, that if there are already some indexed events, this setting is ignored
  25. BLOCK_HEIGHT=0
  26. # Redis cache server
  27. REDIS_URI=redis://localhost:6379/0
  28. ###########################
  29. # Processor options #
  30. ###########################
  31. # Where the mapping scripts are located
  32. TYPES_JSON=./types/augment/all/defs.json
  33. # Indexer GraphQL API endpoint to fetch indexed events
  34. INDEXER_ENDPOINT_URL=http://localhost:4000/graphql
  35. # Block height from which the processor starts. Note that if
  36. # there are already processed events in the database, this setting is ignored
  37. BLOCK_HEIGHT=0
  38. ###############################
  39. # Processor GraphQL API #
  40. ###############################
  41. GRAPHQL_SERVER_PORT=4002
  42. GRAPHQL_SERVER_HOST=localhost
  43. WARTHOG_APP_PORT=4002
  44. WARTHOG_APP_HOST=localhost