Skip to content

Conversation

@maxpower-01
Copy link

…& webserver healthcheck

  • README.md: updated installation instructions
  • .env.template: added an example
  • persistent postgres volume
  • webserver: added a curl and healthcheck

…& webserver healthcheck

- README.md: updated installation instructions
- .env.template: added an example
- persistent postgres volume
- webserver: added a curl and healthcheck
condition: service_healthy
extra_hosts:
- "host.docker.internal:host-gateway"
- "host.docker.internal:host-gateway"
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove

Copy link
Author

Choose a reason for hiding this comment

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

Without this, the Crawler doesn't connect to Docker. We have the same for block-index. Tested and verified again.

- crawler

healthcheck:
test: curl --fail http://localhost:5000/health || exit 1
Copy link
Collaborator

Choose a reason for hiding this comment

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

localhost is wrong here

Copy link
Author

Choose a reason for hiding this comment

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

It looks correct to me. Also, it works fine. We have the same healthcheck in Namada Indexer.

63513c4b49c9 namada-masp-webserver "./webserver" 4 minutes ago Up 24 seconds (healthy) 0.0.0.0:5000->5000/tcp, :::5000->5000/tcp

README.md Outdated
Comment on lines 5 to 7
- 🔧 - This project is a work in progress.
- 🚧 - Functionality is not guaranteed at this stage.
- ⚠️ - Use at your own risk.
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove this paragraph

Copy link
Author

Choose a reason for hiding this comment

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

I agree. I've also removed this chapter from Namada-Indexer. = Consoicency.

.env.template Outdated
@@ -1 +1 @@
COMETBFT_URL="" No newline at end of file
COMETBFT_URL="http://host.docker.internal:26657" No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

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

just use a placeholder here

Copy link
Author

Choose a reason for hiding this comment

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

I agree. I've also removed this chapter from Namada-Indexer. = Consoicency.

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