Skip to content

Support changing the listening port via $POSTGRES_PORT #702

@cansjt

Description

@cansjt

I am aware of issues #302 and #196. I do believe, though, the issue still hasn't been properly addressed.

Indeed in those issues, the solutions provided all assumes you are in control of the command line that starts the container (with docker) or use docker-compose. But there are plenty of use cases where these assumptions do not hold. Especially in a cloud context. PaaS and CI/CD systems, to name a few, do not necessarily let you provide extra arguments to the container's startup command line. Leaving us with environment variables as the only mean to configure the container (if you don't want to build a docker image of your own).

It would be extremely helpful if that feature was implemented here, instead of having to implement it on your own when needed.

So, please, do reconsider implementing this (#196 contains a solution, though I have not tested it). Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RequestRequest for image modification or feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions