coolify_create_database_storage
Add persistent volume or file storage mounts to a Coolify database by specifying its UUID, mount path, and storage type, ensuring data persistence.
Instructions
[WRITE] Add a persistent or file storage mount to a Coolify database
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Volume name (required for persistent storages) | |
| type | Yes | Storage type: persistent volume or file mount | |
| uuid | Yes | UUID of the database | |
| content | No | File content (file storages only) | |
| fs_path | No | Host path (required with is_directory or is_host_file) | |
| host_path | No | Unsupported by current Coolify; use type=file with fs_path instead | |
| mount_path | Yes | Container mount path (e.g. /data) | |
| is_directory | No | Whether this is a directory mount (file only) | |
| is_host_file | No | Mount an existing host file (type=file, requires fs_path) |