Storage create

Create a storage for a service

Usage

coolify service storage create <service_uuid>

Options

OptionTypeRequiredDefaultDescription
--contentstringNoFile content (file only)
--fs-pathstringNoHost directory path (file only, required when --is-directory is set)
--host-pathstringNoHost path (persistent only)
--is-directorybooleanNofalseWhether this is a directory mount (file only)
--mount-pathstringYesMount path inside the container (required)
--namestringNoVolume name (persistent only)
--resource-uuidstringYesUUID of the service sub-resource (required)
--typestringYesStorage 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