In this configuration we are using a different docker image - this one is only sending a new blocks to our Azure Function, which then sends parsed information to subscribers through Azure SignalR Service.
Ready-to-use docker image is available from Docker Hub here: https://hub.docker.com/repository/docker/tezoslive/agileventurestezpusherconsoleapp
Example of the
docker run command
Tezos:NodeUrl env. variable to https://172.17.0.1:8732
Azure:AzureFunctionUrl env. variable to https://myfunction.azurewebsites.net
Azure:AzureFunctionKey env. variable to MySecretFunctionKey
docker run -it --env Tezos:NodeUrl="https://172.17.0.1:8732" \--env Azure:AzureFunctionUrl="https://myfunction.azurewebsites.net" \--env Azure:AzureFunctionKey="MySecretFunctionKey" \tezoslive/agileventurestezpusherconsoleapp
This infrastructure setup has the following benefits
It allows you to have a more robust security out of the box as all communication is encrypted by TLS.
It makes scaling your applications for thousands of subscribers much easier by using serveless compute with scalable SignalR Service.
For client side instructions please see