Provides

Declares what network endpoints a component exposes. Value is an array of objects.

Field Type Required Default Description
name string no -- Endpoint name for cross-references (e.g. api, metrics)
protocol enum yes -- http, https, tcp, udp, grpc, ws
port integer yes -- Container port (1-65535)
bind string no 0.0.0.0 Bind address
exposed boolean no false Whether the port is reachable from outside the host. Most components in a multi-component app are internal services — only frontends and API gateways typically need exposed: true.
spec map<string, string> no -- API spec references (e.g. openapi: file:docs/openapi.yaml)
provides:
  - name: api
    protocol: http
    port: 3000
    exposed: true
    spec:
      openapi: file:docs/openapi.yaml
esc
Type to search the docs