Skip to content
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

Merged
merged 5 commits into from
Jul 29, 2024
Merged

Conversation

seniakalma
Copy link
Collaborator

No description provided.

@seniakalma seniakalma self-assigned this Jul 18, 2024
@seniakalma seniakalma requested a review from PaulLaux July 18, 2024 15:18
@alexeykoren alexeykoren self-requested a review July 19, 2024 09:59
Copy link
Collaborator

@alexeykoren alexeykoren left a 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"]
Copy link
Collaborator

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

Copy link
Collaborator Author

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
Copy link
Collaborator

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?

Copy link
Collaborator Author

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.
Copy link
Collaborator

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

Copy link
Collaborator Author

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

Copy link
Collaborator

@alexeykoren alexeykoren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff, thanks!

@seniakalma seniakalma merged commit 26ac691 into main Jul 29, 2024
1 check passed
@seniakalma seniakalma deleted the arseni-add-demo-dockerfile branch July 29, 2024 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants