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

Change postgresql default port #329

Closed
Xevimacia opened this issue Dec 11, 2020 · 3 comments
Closed

Change postgresql default port #329

Xevimacia opened this issue Dec 11, 2020 · 3 comments
Labels

Comments

@Xevimacia
Copy link

We are working with this template for a while. And we are now bringing it into production.
We are deploying our code based on this template in Alibaba Cloud so we will be using the ApsaraDB RDS for PostgreSQL. For security reasons, we would like to change the default port from 5432 to another port. We have tried to set the environment variable $POSTGRES_PORT but the variable is ignored.
Can anyone point us how to customize the postgres port?

@rouralberto
Copy link

We are having the same issue here. We need to be able to change the default port. It would be nice to implement an environment variable like POSTGRES_PORT or something like that as mentioned above.

@tiangolo
Copy link
Member

Thanks! This was solved here: #333

Copy link

Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants