Ports
Publish container ports directly, without routing them through a domain. Generated from the `notploy` command surface.
Publish container ports directly, without routing them through a domain.
notploy port exposes 4 commands. They map one-to-one onto the port.* API operations, so anything reachable from the dashboard is reachable from here.
Run notploy port --help to list these commands in your terminal, or
notploy port <command> --help for a single command.
Commands
notploy port create
Calls POST /api/trpc/port.create.
notploy port create --publishedPort <value> --publishMode <value> --targetPort <value> --protocol <value> --applicationId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--publishedPort <value> | number | Yes | — |
--publishMode <value> | string | Yes | ingress, host |
--targetPort <value> | number | Yes | — |
--protocol <value> | string | Yes | tcp, udp |
--applicationId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy port delete
Calls POST /api/trpc/port.delete.
notploy port delete --portId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--portId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy port one
Calls GET /api/trpc/port.one.
notploy port one --portId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--portId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy port update
Calls POST /api/trpc/port.update.
notploy port update --portId <value> --publishedPort <value> --publishMode <value> --targetPort <value> --protocol <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--portId <value> | string | Yes | — |
--publishedPort <value> | number | Yes | — |
--publishMode <value> | string | Yes | ingress, host |
--targetPort <value> | number | Yes | — |
--protocol <value> | string | Yes | tcp, udp |
--profile <name> | string | No | — |