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

[docker] Change default postgres port to 5433 for local dev environment #575

Open
igoychev opened this issue Nov 8, 2023 · 0 comments
Open
Labels
type: enhancement New feature or request

Comments

@igoychev
Copy link
Contributor

igoychev commented Nov 8, 2023

Which area(s) of Podkrepi.bg are affected? (leave empty if unsure)

No response

Describe the feature you'd like to request

Currently when setting up the local dev environment, the postgres docker container is using the default port 5432 which creates problems if there is already postgres installed and running on same port. The Keycloak container fails to run in such cases.

Describe the solution you'd like

To avoid the problems, the postgres port for local development needs to be changed to 5433.
The change needs to happen on the following places:

  • .env and .env.example all places with 5432
  • docker-compose.yml for the pg-db container
  • and the difficult part for Keycloak to use the new port:
    • add another parameter for KEYCLOAK_DB_PORT in .env and .env.example
    • add the KEYCLOAK_DB_PORT to be used in docker-compose.yml line 139

Describe alternatives you've considered

No response

@igoychev igoychev added the type: enhancement New feature or request label Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant