Skip to main content
Volumes provide persistent block storage that survives VM restarts and redeployments. Use them for databases, file uploads, caches, or any data that needs to persist.

Create a volume

By default, creating a volume also adds it to your zwrm.toml file.

Example

This creates a 5 GB volume mounted at /app/uploads in your VM.

List volumes

Shows volume ID, name, total size, used space, free space, and mount point.

Destroy a volume

Destroying a volume permanently deletes all data on it. This cannot be undone.

Check volume limits

Shows maximum volume size, per-app volume limits, minimum free disk, and available disk space.

Defining volumes in zwrm.toml

You can also define volumes directly in your configuration file:
Volumes defined in zwrm.toml are created automatically on deploy if they don’t already exist.