Skip to content

Allow postgres host ports to be automatically allocated #56

@gthomas2

Description

@gthomas2

At the moment you have to specify db host port in recipe:

  "dbHostPort": "55437",

Since the db host port is only used locally for testing / debugging, it would be useful if we could specify this as "auto". If "auto", automatically allocate a random port.

It should scan the registered instances for dbHostPorts to avoid collisions AND check available ports to avoid collisions.

Also, when doing mchef list, it should show the dbhostport against the instance. Either that or we create a new mchef inspect command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions