.env 2.8 KB

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