dokploy_port_create
dokploy_port_createCreate and configure network ports for applications in Dokploy by specifying published and target ports, protocol, and publish mode to enable external access.
Instructions
[port] port.create (POST)
Parameters:
publishedPort (number, required)
publishMode (enum: ingress, host, required)
targetPort (number, required)
protocol (enum: tcp, udp, required)
applicationId (string, required)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"publishedPort": "<publishedPort>",
"publishMode": "<publishMode>",
"targetPort": "<targetPort>",
"protocol": "<protocol>",
"applicationId": "<applicationId>"
},
"name": "dokploy_port_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publishedPort | Yes | ||
| publishMode | Yes | ||
| targetPort | Yes | ||
| protocol | Yes | ||
| applicationId | Yes |