.env 2.0 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=localhost
  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. # GraphQL ports (WARTHOG_APP_HOST overrides GRAPHQL_SERVER_PORT)
  20. # So keep them the safe to avoid confusion, as long as each service is
  21. # run in a separate container on same host then there is no issue.
  22. # It does not make sense to have both but hydra codegen demands them.
  23. GRAPHQL_SERVER_PORT=4001
  24. GRAPHQL_SERVER_HOST=localhost
  25. WARTHOG_APP_PORT=${GRAPHQL_SERVER_PORT}
  26. WARTHOG_APP_HOST=localhost
  27. # Websocket RPC endpoint containers will use.
  28. JOYSTREAM_NODE_WS=ws://joystream-node:9944/
  29. # Query node which colossus will use
  30. # TODO: Colossus should take a full Url instead
  31. COLOSSUS_QUERY_NODE_HOST=graphql-server:${GRAPHQL_SERVER_PORT}
  32. # Query node which distributor will use
  33. DISTRIBUTOR_QUERY_NODE_URL=http://graphql-server:${GRAPHQL_SERVER_PORT}/graphql
  34. # Indexer gateway used by processor. If you don't use the local indexer set this to a remote gateway
  35. PROCESSOR_INDEXER_GATEWAY=http://hydra-indexer-gateway:${GRAPHQL_SERVER_PORT}/graphql
  36. # Colossus services identities
  37. COLOSSUS_1_WORKER_ID=0
  38. COLOSSUS_1_ACCOUNT_URI=//testing//worker//Storage//${COLOSSUS_1_WORKER_ID}
  39. COLOSSUS_2_WORKER_ID=1
  40. COLOSSUS_2_ACCOUNT_URI=//testing//worker//Storage//${COLOSSUS_2_WORKER_ID}
  41. # Distributor node services identities
  42. DISTRIBUTOR_1_WORKER_ID=0
  43. DISTRIBUTOR_1_ACCOUNT_URI=//testing//worker//Distribution//${DISTRIBUTOR_1_WORKER_ID}
  44. DISTRIBUTOR_2_WORKER_ID=1
  45. DISTRIBUTOR_2_ACCOUNT_URI=//testing//worker//Distribution//${DISTRIBUTOR_2_WORKER_ID}
  46. # joystream/node docker image tag
  47. JOYSTREAM_NODE_TAG=latest