.env 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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=0
  21. # Query node GraphQL server port
  22. GRAPHQL_SERVER_PORT=8081
  23. # Query node playground subscription endpoint
  24. GRAPHQL_PLAYGROUND_SUBSCRIPTION_ENDPOINT=ws://localhost:8081/graphql
  25. # Hydra indexer gateway GraphQL server port
  26. HYDRA_INDEXER_GATEWAY_PORT=4000
  27. # Default GraphQL server host. It is required during "query-node config:dev"
  28. GRAPHQL_SERVER_HOST=localhost
  29. # Websocket RPC endpoint containers will use.
  30. JOYSTREAM_NODE_WS=ws://joystream-node:9944/
  31. # Query node which colossus will use
  32. COLOSSUS_QUERY_NODE_URL=http://graphql-server:${GRAPHQL_SERVER_PORT}/graphql
  33. # Query node which distributor will use
  34. DISTRIBUTOR_QUERY_NODE_URL=http://graphql-server:${GRAPHQL_SERVER_PORT}/graphql
  35. # Indexer gateway used by processor. If you don't use the local indexer set this to a remote gateway
  36. PROCESSOR_INDEXER_GATEWAY=http://hydra-indexer-gateway:${HYDRA_INDEXER_GATEWAY_PORT}/graphql
  37. # Colossus services identities
  38. COLOSSUS_1_WORKER_ID=0
  39. COLOSSUS_1_WORKER_URI=//testing//worker//Storage//${COLOSSUS_1_WORKER_ID}
  40. COLOSSUS_1_TRANSACTOR_URI=//Colossus1
  41. COLOSSUS_2_WORKER_ID=1
  42. COLOSSUS_2_WORKER_URI=//testing//worker//Storage//${COLOSSUS_2_WORKER_ID}
  43. COLOSSUS_2_TRANSACTOR_URI=//Colossus2
  44. # Distributor node services identities
  45. DISTRIBUTOR_1_WORKER_ID=0
  46. DISTRIBUTOR_1_ACCOUNT_URI=//testing//worker//Distribution//${DISTRIBUTOR_1_WORKER_ID}
  47. DISTRIBUTOR_2_WORKER_ID=1
  48. DISTRIBUTOR_2_ACCOUNT_URI=//testing//worker//Distribution//${DISTRIBUTOR_2_WORKER_ID}
  49. # joystream/node docker image tag
  50. # We do not provide a default value - scripts that startup a joystream-node service
  51. # Should be explicit about what version to use.
  52. # JOYSTREAM_NODE_TAG=latest