.env 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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=db
  12. DB_PORT=5432
  13. DEBUG=index-builder:*
  14. TYPEORM_LOGGING=error
  15. ## Indexer options
  16. # Block height to start indexing from.
  17. # Note, that if there are already some indexed events, this setting is ignored
  18. BLOCK_HEIGHT=0
  19. # Query node GraphQL server port
  20. GRAPHQL_SERVER_PORT=8081
  21. # Hydra indexer gateway GraphQL server port
  22. HYDRA_INDEXER_GATEWAY_PORT=4000
  23. # Default GraphQL server host. It is required during "query-node config:dev"
  24. GRAPHQL_SERVER_HOST=localhost
  25. # Websocket RPC endpoint containers will use.
  26. JOYSTREAM_NODE_WS=ws://joystream-node:9944/
  27. # Query node which colossus will use
  28. # TODO: Colossus should take a full Url instead
  29. COLOSSUS_QUERY_NODE_HOST=graphql-server:${GRAPHQL_SERVER_PORT}
  30. # Query node which distributor will use
  31. DISTRIBUTOR_QUERY_NODE_URL=http://graphql-server:${GRAPHQL_SERVER_PORT}/graphql
  32. # Indexer gateway used by processor. If you don't use the local indexer set this to a remote gateway
  33. PROCESSOR_INDEXER_GATEWAY=http://hydra-indexer-gateway:${HYDRA_INDEXER_GATEWAY_PORT}/graphql
  34. # Colossus services identities
  35. COLOSSUS_1_WORKER_ID=0
  36. COLOSSUS_1_ACCOUNT_URI=//testing//worker//Storage//${COLOSSUS_1_WORKER_ID}
  37. COLOSSUS_2_WORKER_ID=1
  38. COLOSSUS_2_ACCOUNT_URI=//testing//worker//Storage//${COLOSSUS_2_WORKER_ID}
  39. # Distributor node services identities
  40. DISTRIBUTOR_1_WORKER_ID=0
  41. DISTRIBUTOR_1_ACCOUNT_URI=//testing//worker//Distribution//${DISTRIBUTOR_1_WORKER_ID}
  42. DISTRIBUTOR_2_WORKER_ID=1
  43. DISTRIBUTOR_2_ACCOUNT_URI=//testing//worker//Distribution//${DISTRIBUTOR_2_WORKER_ID}
  44. # joystream/node docker image tag
  45. JOYSTREAM_NODE_TAG=latest