dokploy_mounts
Create, update, remove, get, and list mounts (volumes, bind mounts, files) for services. Changes require a redeploy to take effect.
Instructions
Manage mounts (volumes, bind mounts, files) attached to services. Mount changes require a redeploy of the parent service to take effect. create: type+mountPath+serviceId+serviceType (+volumeName for volume, +hostPath for bind, +filePath+content for file). update: mountId (+any field). remove: mountId. get: mountId. listByServiceId: serviceType+serviceId. allNamedByApplicationId: applicationId (named volumes only). serviceType: application|postgres|mysql|mariadb|mongo|redis|compose|libsql.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | bind | volume | file | |
| action | Yes | ||
| content | No | File contents for type=file | |
| mongoId | No | ||
| mountId | No | ||
| mysqlId | No | ||
| redisId | No | ||
| filePath | No | Required for type=file | |
| hostPath | No | Required for type=bind | |
| libsqlId | No | ||
| composeId | No | ||
| mariadbId | No | ||
| mountPath | No | Path inside the container | |
| serviceId | No | ID of the service the mount attaches to | |
| postgresId | No | ||
| volumeName | No | Required for type=volume | |
| serviceType | No | ||
| applicationId | No |