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

Added postgres port env variable #342

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

antoineludeau
Copy link
Member

@antoineludeau antoineludeau commented Dec 12, 2023

Context

In order to make a progressive infrastructure evolution of the postgresDB, We need to be able to set the postgresql db access port easily.

Enhancement

This PR adds the possibility to set the postgresql port through an env variable :

  • POSTGRES_PORT = ... (the desired port)

TO-DO before going to production

  • add a POSTGRES_PORT env variable to the .env file in production (it will work without it because we have set a default value in the code if the variable is empty).

@antoineludeau antoineludeau merged commit 6379350 into master Dec 12, 2023
1 check passed
@antoineludeau antoineludeau deleted the antoineludeau/add-postgres-port-setting branch December 12, 2023 14:55
@antoineludeau antoineludeau self-assigned this Feb 6, 2024
@antoineludeau antoineludeau restored the antoineludeau/add-postgres-port-setting branch February 6, 2024 12:45
@antoineludeau antoineludeau deleted the antoineludeau/add-postgres-port-setting branch February 6, 2024 12:45
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.

2 participants