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

Rename env variable POSTGRES_PORT -> PGPORT #375

Merged
merged 1 commit into from
Apr 21, 2024

Conversation

aliavni
Copy link
Collaborator

@aliavni aliavni commented Apr 18, 2024

Postgres requires PGPORT environment variable set if we need to run it on a different port.

This PR

  1. Renames POSTGRES_PORT env variable to PGPORT so that we can run the app with the postgres port we need. Api service fails to connect to postgres without this change
  2. Creates .env.template file for easier developer onboarding, and updates README

@aliavni
Copy link
Collaborator Author

aliavni commented Apr 18, 2024

@DMalone87 one more PR here

@aliavni aliavni force-pushed the change-env-variable-to-pgport branch from f20f69b to 498bae5 Compare April 18, 2024 19:37
@DMalone87 DMalone87 self-requested a review April 19, 2024 19:18
@aliavni aliavni merged commit 2319105 into codeforboston:main Apr 21, 2024
2 checks passed
@aliavni aliavni deleted the change-env-variable-to-pgport branch April 21, 2024 19:44
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