Storage create

Create a storage for a database

Usage

coolify database storage create <db_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)
--typestringYesStorage 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