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

Use a different port for dev postgres #3346

Merged
merged 1 commit into from
Sep 29, 2022
Merged

Conversation

dnephin
Copy link
Contributor

@dnephin dnephin commented Sep 29, 2022

@kimskimchi and I were debugging some test failures, and we noticed that trying to run make postgres would often fail because the postgres container started by helm or docker-compose could be using that port.

This PR updates the Makefile to use 15432 instead of 5432 as the host port for the postgres container created by make postgres. This prevents the container from conflicting with other postgres containers.

So that it doesn't conflict with the port used by helm or docker-compose
to run postgres.
@dnephin dnephin merged commit fef14ec into main Sep 29, 2022
@dnephin dnephin deleted the dnephin/makefile-postgres-port branch September 29, 2022 16:38
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