Skip to main content

Type Alias: HostServiceOpts

HostServiceOpts: object

Type declaration

host?

optional host: string

Upstream host to forward traffic to.

ports

ports: PortForward[]

Ports to expose via the service, forwarding through the host network.

If a port's frontend is unspecified or 0, it defaults to the same as the backend port.

An empty set of ports is not valid; an error will be returned.