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

Containerizing proposer #929

Merged
merged 4 commits into from
Sep 14, 2022
Merged

Containerizing proposer #929

merged 4 commits into from
Sep 14, 2022

Conversation

signorecello
Copy link
Contributor

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

Copy link
Contributor

@druiz0992 druiz0992 left a 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
Copy link
Contributor

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?

Copy link
Contributor

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

@israelboudoux israelboudoux self-requested a review September 13, 2022 21:03
context: .
ports:
# to use with postman and etc
- 8083:8080
Copy link
Contributor

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

Copy link
Contributor

@druiz0992 druiz0992 left a 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

@druiz0992
Copy link
Contributor

druiz0992 commented Sep 13, 2022

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

@signorecello
Copy link
Contributor Author

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

@signorecello
Copy link
Contributor Author

Added #934 and will work on that ASAP

@signorecello signorecello merged commit 3eb9802 into master Sep 14, 2022
@signorecello signorecello deleted the zepedro/fix-proposer branch September 14, 2022 09:17
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.

3 participants