# Storage create

Source: https://coolify.io/docs/cli/command-reference/commands/app/storage-create

Create a storage for an application

## Usage

```sh
coolify app storage create <app_uuid>
```

## Options

| Option           | Type      | Required | Default | Description                                                          |
| :--------------- | :-------- | :------: | :------ | :------------------------------------------------------------------- |
| `--content`      | `string`  |    No    | —       | File content (file only)                                             |
| `--fs-path`      | `string`  |    No    | —       | Host directory path (file only, required when --is-directory is set) |
| `--host-path`    | `string`  |    No    | —       | Host path (persistent only)                                          |
| `--is-directory` | `boolean` |    No    | `false` | Whether this is a directory mount (file only)                        |
| `--mount-path`   | `string`  |    Yes   | —       | Mount path inside the container (required)                           |
| `--name`         | `string`  |    No    | —       | Volume name (persistent only)                                        |
| `--type`         | `string`  |    Yes   | —       | Storage type: 'persistent' or 'file' (required)                      |

## Get current help

```sh
coolify app storage create --help
```

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