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

Warn if port 5432 is already in use #52

Open
SebastienGllmt opened this issue Nov 10, 2023 · 0 comments
Open

Warn if port 5432 is already in use #52

SebastienGllmt opened this issue Nov 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@SebastienGllmt
Copy link
Contributor

SebastienGllmt commented Nov 10, 2023

Right now for the docker-comopose.yml files, we just always use port 5432. Two problems:

  1. Probably the value should come from the .env file
  2. If the user already has a database running on their machine (which runs on 5432 by default), Paima will just silently connect to that instead of the docker database. Possibly we can check this in database:up

See pg_isready mentioned in the templates for maybe a path for this

@SebastienGllmt SebastienGllmt added the bug Something isn't working label Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant