mounts-create
Create a bind, volume, or file mount for a Dokploy service by defining its type, mount path, and target service ID.
Instructions
POST /mounts.create
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": {
"type": "<type>",
"mountPath": "<mountPath>",
"serviceId": "<serviceId>"
},
"name": "mounts-create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| content | No | ||
| filePath | No | ||
| hostPath | No | ||
| mountPath | Yes | ||
| serviceId | Yes | ||
| volumeName | No | ||
| serviceType | No |