-
Notifications
You must be signed in to change notification settings - Fork 1
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
Dev hp main deployment #165
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.
LGTM
This change look good to me too. Can you elaborate on the reason for the change in the description of the PR, for documentation purposes. |
@@ -11,29 +11,29 @@ services: | |||
- "5000:5000" | |||
environment: | |||
- FLASK_APP=app/main.py | |||
- ELASTICSEARCH_HOST=elasticsearch | |||
depends_on: | |||
- elasticsearch |
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.
If we are removing elastic search then we don't necessarily need this file because we can run the flask app using the Dockerfile
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 agree, the change was made to alter the GitHub workflow
Closing the pull request - @kb21032001 branch ( #174) has built upon my changes and will be merged instead |
A PR for replacing elastic search with a simple search for easier deployment.
We were facing resource constraints when deploying with elastic search on the free tier of the Amazon EC2 instance hence we have decided to re-route the search to a simpler in-house implementation which consumes less ram and processor speed.
Here is an image showing resource utilization when running elastic search on EC2 instance