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

fix(#198): add configurable POSTGRES_PORT to docker compose file #199

Merged

Conversation

rmayore
Copy link
Contributor

@rmayore rmayore commented Dec 25, 2024

Description

Adds configurable PG port

Code review checklist

  • Readable: Concise, well named, follows the style guide, documented if necessary.
  • Documented: Configuration and user documentation on cht-docs
  • Tested: Unit and/or e2e where appropriate
  • Backwards compatible: Works with existing data and configuration or includes a migration. Any breaking changes documented in the release notes.

License

The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.

Signed-off-by: Robert <rmayore@livinggoods.org>
Copy link
Contributor

@jkuester jkuester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everywhere that is currently referencing 5432 in the code is also checking the POSTGRES_PORT value. Additionally, the env.template file already has an entry for POSTGRES_PORT. So, I believe this change should be good to go!

(I am assuming this previous hard-coded configuration in the docker-compose was just an oversight that was made when overhauling everything to just use couch2pg.)

@jkuester jkuester changed the title fix(#198): add configurable PG port to docker compose file fix(#198): add configurable POSTGRES_PORT to docker compose file Jan 6, 2025
@jkuester jkuester merged commit c286014 into medic:main Jan 6, 2025
5 checks passed
@medic-ci
Copy link

medic-ci commented Jan 6, 2025

🎉 This PR is included in version 1.3.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants