-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dockerfile for the demo client #3
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few questions
Dockerfile-demo
Outdated
ENV ZCASH_NODE_PROTOCOL=http | ||
|
||
# Set the entrypoint | ||
ENTRYPOINT ["cargo", "run", "--package", "zcash_tx_tool", "--bin", "zcash_tx_tool", "test"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For demo docker probably --release is a good idea because of performance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
V
README.md
Outdated
To build and run the docker image: | ||
To build and run the docker image, make sure you create the network first: | ||
```bash | ||
docker network create zcash-network |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Network is not really a requirement in non-docker client case. Shall we move it to demo-related setup?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
V
README.md
Outdated
And after that run the image itself. | ||
The default connection parameters are set to connect to the zebra-node running on the machine itself (12.0.0.1) | ||
If you ran the node in a docker container with the command above, you named that container "zebra-node", so you should use that as the ZCASH_NODE_ADDRESS. | ||
If the node is running on the ECS server, you can connect to it by setting the ZCASH_NODE_ADDRESS=dev.zebra.qedit-solana.net. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this url be a part of a public readme? Looks like part of our internal config, also with non-obvious relations to Solana
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wasn't aware it was Public, removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff, thanks!
No description provided.