Skip to content

Change postgresql default port #329

Closed
@Xevimacia

Description

@Xevimacia

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions