Storage create

Create a storage for a service

Usage

coolify service storage create <service_uuid>

Options

OptionTypeRequiredDefaultDescription
--contentstringNo—File content (file only)
--fs-pathstringNo—Host directory path (file only, required when --is-directory is set)
--host-pathstringNo—Host path (persistent only)
--is-directorybooleanNofalseWhether this is a directory mount (file only)
--mount-pathstringYes—Mount path inside the container (required)
--namestringNo—Volume name (persistent only)
--resource-uuidstringYes—UUID of the service sub-resource (required)
--typestringYes—Storage type: 'persistent' or 'file' (required)

Get current help

coolify service storage create --help

The installed CLI help reflects the exact options available in your CLI version.

On this page