dokploy_mounts_update
dokploy_mounts_updateModify storage mounts for applications and databases in Dokploy by updating mount type, path, or content to adjust file access and data persistence.
Instructions
[mounts] mounts.update (POST)
Parameters:
mountId (string, required)
type (enum: bind, volume, file, optional)
hostPath (any, optional)
volumeName (any, optional)
filePath (any, optional)
content (any, optional)
serviceType (enum: application, postgres, mysql, mariadb, mongo, redis, compose, optional)
mountPath (string, optional)
applicationId (any, optional)
postgresId (any, optional)
mariadbId (any, optional)
mongoId (any, optional)
mysqlId (any, optional)
redisId (any, optional)
composeId (any, optional)
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": {
"mountId": "<mountId>"
},
"name": "dokploy_mounts_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mountId | Yes | ||
| type | No | ||
| hostPath | No | ||
| volumeName | No | ||
| filePath | No | ||
| content | No | ||
| serviceType | No | ||
| mountPath | No | ||
| applicationId | No | ||
| postgresId | No | ||
| mariadbId | No | ||
| mongoId | No | ||
| mysqlId | No | ||
| redisId | No | ||
| composeId | No |