import-qn-data.sh 2.3 KB

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