dokploy_mounts_create
dokploy_mounts_createCreate storage mounts for Docker containers in Dokploy, attaching volumes, bind mounts, or files to services like applications and databases.
Instructions
[mounts] mounts.create (POST)
Parameters:
type (enum: bind, volume, file, required)
hostPath (any, optional)
volumeName (any, optional)
content (any, optional)
mountPath (string, required)
serviceType (enum: application, postgres, mysql, mariadb, mongo, redis, compose, optional)
filePath (any, optional)
serviceId (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": {
"type": "<type>",
"mountPath": "<mountPath>",
"serviceId": "<serviceId>"
},
"name": "dokploy_mounts_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| hostPath | No | ||
| volumeName | No | ||
| content | No | ||
| mountPath | Yes | ||
| serviceType | No | ||
| filePath | No | ||
| serviceId | Yes |