Skip to content

Possibility for Docker Image to pass Consul IP and Port as Variable? #346

@multipathmaster

Description

@multipathmaster

Would be awesome if the container that is built doesn't default to 127.0.0.1:8500, as within a larger environment, chances are, localhost 8500 is already bound on the consul agents as well as various things bound to nomad. It would be rad if it could run like docker run -it -e CONSUL_IP="IP" -e CONSUL_PORT="PORT" fabiolb/fabio . which then would allow user to specify the address themselves (i.e. what if it's load balanced behind a VIP and localhost doesn't cut the mustard?).

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