.env 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. # Remember to change it in COLOSSUS_QUERY_NODE_URL and DISTRIBUTOR_QUERY_NODE_URL as well
  23. GRAPHQL_SERVER_PORT=8081
  24. # Query node playground endpoint
  25. # Leave it blank if you want endpoint to be copied from browser's URL
  26. GRAPHQL_PLAYGROUND_ENDPOINT=""
  27. # Query node playground subscription endpoint - will be derived from GRAPHQL_PLAYGROUND_ENDPOINT
  28. # when not set
  29. # GRAPHQL_PLAYGROUND_SUBSCRIPTION_ENDPOINT=ws://localhost:8081/graphql
  30. # URL for CDN serving QN Playground's JS/CSS files - set empty string for local file serving
  31. GRAPHQL_PLAYGROUND_CDN_URL=""
  32. # Hydra indexer gateway GraphQL server port
  33. # Remember to change it in PROCESSOR_INDEXER_GATEWAY as well
  34. HYDRA_INDEXER_GATEWAY_PORT=4000
  35. # Default GraphQL server host. It is required during "query-node config:dev"
  36. GRAPHQL_SERVER_HOST=localhost
  37. # Websocket RPC endpoint containers will use.
  38. JOYSTREAM_NODE_WS=ws://joystream-node:9944/
  39. # Query node which colossus will use
  40. COLOSSUS_QUERY_NODE_URL=http://graphql-server:8081/graphql
  41. # Query node which distributor will use
  42. DISTRIBUTOR_QUERY_NODE_URL=http://graphql-server:8081/graphql
  43. # Indexer gateway used by processor. If you don't use the local indexer set this to a remote gateway
  44. PROCESSOR_INDEXER_GATEWAY=http://hydra-indexer-gateway:4000/graphql
  45. # Colossus services identities
  46. COLOSSUS_1_WORKER_ID=0
  47. COLOSSUS_1_WORKER_URI=//testing//worker//Storage//${COLOSSUS_1_WORKER_ID}
  48. COLOSSUS_1_TRANSACTOR_URI=//Colossus1
  49. COLOSSUS_2_WORKER_ID=1
  50. COLOSSUS_2_WORKER_URI=//testing//worker//Storage//${COLOSSUS_2_WORKER_ID}
  51. COLOSSUS_2_TRANSACTOR_URI=//Colossus2
  52. # Distributor node services identities
  53. DISTRIBUTOR_1_WORKER_ID=0
  54. DISTRIBUTOR_1_ACCOUNT_URI=//testing//worker//Distribution//0
  55. DISTRIBUTOR_2_WORKER_ID=1
  56. DISTRIBUTOR_2_ACCOUNT_URI=//testing//worker//Distribution//1
  57. # Membership Faucet
  58. SCREENING_AUTHORITY_SEED=//Alice
  59. INVITING_MEMBER_ID=0
  60. # joystream/node docker image tag
  61. # We do not provide a default value - scripts that startup a joystream-node service
  62. # Should be explicit about what version to use.
  63. # JOYSTREAM_NODE_TAG=latest