Storage create

Create a storage for a database

Usage

coolify database storage create <db_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)
--typestringYes—Storage type: 'persistent' or 'file' (required)

Get current help

coolify database storage create --help

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

On this page