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)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| hostPath | No | ||
| volumeName | No | ||
| content | No | ||
| mountPath | Yes | ||
| serviceType | No | ||
| filePath | No | ||
| serviceId | Yes |