.env 2.0 KB

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