Skip to content

Multiple hostnames/ports per container #4

@danelowe

Description

@danelowe

There are a few use cases for allowing a single container to serve multiple hostnames via either the same port, or different ports.

E.g.

www.mydomain.co.nz        -> mycontainer:8080
www.mydomain.com.au       -> mycontainer:8080
admin.mydomain.co.nz      -> mycontainer:8081
api.mydomain.co.nz        -> camel:8081
privateapi.mydomain.co.nz -> camel:8082
...

The current labelling system does not appear to allow for this kind of flexibility. I am wondering if this might be either changed or extended.

In some cases, this could be worked around by creating duplicate services for each hostname. However, it may not always be practical if numerous hostnames are required.

In my case, it would not be desirable to multiply the number of running containers, because I need to dedicate quite a bit of memory to each instance, some of which may receive relatively little traffic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions