Plugin-framework provider covering projects, environments, applications, Compose stacks, managed databases, domains, mounts, ports, redirects, basic auth, registries, SSH keys, certificates and backup destinations, over Dokploy's tRPC-over-REST API. The shim package exposes the provider to other Go modules, which is how pulumi-dokploy bridges it.
32 lines
897 B
Markdown
32 lines
897 B
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "dokploy_port Resource - dokploy"
|
|
subcategory: ""
|
|
description: |-
|
|
A published port that exposes an application directly on the host, bypassing Traefik.
|
|
---
|
|
|
|
# dokploy_port (Resource)
|
|
|
|
A published port that exposes an application directly on the host, bypassing Traefik.
|
|
|
|
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `application_id` (String) Application this port belongs to.
|
|
- `protocol` (String) Transport protocol. Valid values: `tcp`, `udp`.
|
|
- `published_port` (Number) Port exposed on the host.
|
|
- `target_port` (Number) Port the container listens on.
|
|
|
|
### Optional
|
|
|
|
- `publish_mode` (String) Docker Swarm publish mode. `host` binds directly to the node; `ingress` uses the swarm routing mesh. Valid values: `ingress`, `host`.
|
|
|
|
### Read-Only
|
|
|
|
- `id` (String) Unique port identifier.
|