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

#21 - Update nginx conf, add note about chainweb version name for minimal devnet #22

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

raduciobanu22
Copy link

No description provided.

Copy link

@trendzetter trendzetter left a comment

Choose a reason for hiding this comment

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

change possibly not reflected in readme

@@ -227,7 +226,9 @@ db/0/sqlite
- As of 2.18, this is a height of 500. It takes four hours or so to reach this from scratch.
- The rest api should be exposed on your localhost, so you can use the command below to check the height of chain 0.

`curl -s http://localhost:8080/chainweb/0.0/development/cut | jq '.hashes."'0'".height'`
`curl -s http://localhost:8080/chainweb/0.0/fast-development/cut | jq '.hashes."'0'".height`

Choose a reason for hiding this comment

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

if you change the nginx port to 80 shouldn't it be 80 here as well instead of 8080?

Copy link
Author

@raduciobanu22 raduciobanu22 Nov 14, 2023

Choose a reason for hiding this comment

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

I left the 8080:80 port mapping in docker-compose.yml as it was, so nginx can be reached on port 8080 from outside of the docker network.
An alternative to my change would have been to update the port mapping to 8080:8080 instead of updating the nginx config.
I created the issue and PR cause I spent a lot more time than was necessary to get the devnet up and running because of missing the fast-development chainweb version in the docs and this port misconfiguration, so hope it saves other people some time.

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