Skip to content

Automatically detect port from env #17

@5HT2

Description

@5HT2

Currently, you must edit both config/.env and docker-compose.yml to change the port of a Docker container. This is confusing to the user (and to me, when I forget about it).

Grabbing the port from config/.env would be ideal.

Currently we have HB_ADDR=0.0.0.0:6060, which is part of what we need. We could make the 6060 part a HB_PORT variable in config/.env if Docker supports expanding env vars.

Testing it needed to ensure if this is possible.

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