Open kaelabbott opened 2 years ago
Hey @kaelabbott - sorry for the very late reply. A little clarification:
RPC_URL should point to a url that your browser can access (i.e. a public url). For example if you run this on your server at mynode.com, the "monitoring-service" will be listening at mynode.com:7878 so your RPC_URL should be https://mynode.com:7878
This is the url the react app will make requests to. You can verify the correct url by checking in your browser, eg https://mynode.com:7878/height
To clarify further: on pokt.tools this RPC url is set to https://api.pokt.tools
which can be verified by visiting https://api.pokt.tools/height
Hope that helps!
Hey, im trying to connect my node to the pokt-caculator but it's not working... I have setup a network with the pokt-calculator and my pocket node, I tested it to verify if they are seeing each other and it worked but when I run the docker-compose and try to test it via web the node height output is 0.
bellow ill leave my code of the docker-compose that i'm using
`version: "3"
services: monitoring-service: container_name: pokt-calculator-api ports:
Update the url below to use your node's service url,
or get a free endpoint at https://www.portal.pokt.network/#1
POCKET_URL: http://node1:8081/v1 volumes:
Update the url below
RPC_URL: http://node1:8081 ports:
networks: default: external: true name: node-network`