Skip to content

Enable configurable exposed port to run container in host networking mode on a port different than 5432 #196

@vincepii

Description

@vincepii

If running the container with --net=host, the db can only be reached on port 5432 (no ports mapping).

It would be great to have the possibility to set the port where postgres will listen to with an environment variable (an example is this image: https://github.com/mesoscloud/chronos).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions