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.)