-
Notifications
You must be signed in to change notification settings - Fork 56
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
Containerizing proposer #929
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.
proposer.Dockerfile is based on node:14. Please set it to node:16
@@ -0,0 +1,2 @@ | |||
#! /bin/bash | |||
docker-compose -f docker-compose.apps.yml up proposer |
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.
Hey @signorecello, what about the Challenger?
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.
i think we can add a separate PR for challenger. Proposer is urgent
docker-compose.apps.yml
Outdated
context: . | ||
ports: | ||
# to use with postman and etc | ||
- 8083:8080 |
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.
There seems to be a port inconsistency with app.mjs
where port is 8092
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.
I launched proposer and was not able to do curl http://localhost:8092/healthcheck
it would be quite useful to add a proposer test that launches containers, checks healthcheck, and exits. This way, we always guarantee proposer is working |
Hey I couldn't agree more, but I think it should be part of another ticket, as some team members need this container to work ASAP |
Added #934 and will work on that ASAP |
This PR proposes that the proposer (pun intended) is containerized so all its paths match with our deployment repo. A new script is born that simply runs this new
docker-compose
file