Persistent Volumes
A container's filesystem is replaced on every deploy. A persistent volume is a Docker volume mounted into the container at a path you choose, so uploads, SQLite files, and other app data survive redeploys and restarts.
Add a Volume
- Open the project and find the Persistent Volumes card
- Enter a name and the mount path inside the container, for example
/app/uploads - Add the volume, then redeploy so the container starts with it mounted
Remove a Volume
Removing a volume asks whether to keep its data. Choose keep to detach it from the project only. Choosing delete removes the data permanently, and only works when no container is using the volume.