-
Notifications
You must be signed in to change notification settings - Fork 226
Spencer/bugfix 171 docker pg credentials #172
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
Spencer/bugfix 171 docker pg credentials #172
Conversation
Bug Report
Comments? Email us. |
fc26848
to
0d42518
Compare
Bug Report
Comments? Email us. |
Bug Report
Comments? Email us. |
…lleged failure cases
Bug Report
Comments? Email us. |
Bug Report
Comments? Email us. |
@jazzberry-ai that is a lie. |
…ed or corrupt URIs
Bug ReportName: URI escape injection Comments? Email us. |
…alhost:5432/morphik", which happens during docker build
Bug Report
Comments? Email us. |
… has no strtonum function
Bug Report
Comments? Email us. |
Bug Report
Comments? Email us. |
Bug Report
Comments? Email us. |
Bug Report
Comments? Email us. |
Not ready to merge yet; I'm fixing up some integrations with the docker builder action. |
Bug Report| Name | Severity | Example test case | Description |\n|---|---|---|---|\n| Shell Injection in Postgres URI | Critical | Comments? Email us. |
OK, now everything should work (see https://github.com/ribera-ai/morphik-core/tree/feat/issue-158-publish-docker-image) |
Bug Report
Comments? Email us. |
Bug Report
Comments? Email us. |
Bug Report
Comments? Email us. |
Fixes #171 by parsing credentials from
POSTGRES_URI
, making the check compatible with containerized deployments. This PR also adds some debugging statements and stderr logging to make it easier to track down connection issues.I also pulled the files out of the dockerfile to make them easier to edit.
(My branch is misnamed: it should be bugfix-171, not bugfix-174.)