dokploy_mounts
Manage service mounts (volumes, bind mounts, files) with create, update, remove, get, and list actions. Redeploy the service to apply mount changes.
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 |