Working with persistent storage
Each cloudspace has access to managed persistent NFS storage. On the dashboard, you can see how much storage is available in your plan and how much of it you have already used. In the Free plan, for example, this is 4GB of storage.
Every service in your cloudspace can access the storage by creating a volume mount
in the service settings. Here is an example of what this looks like for a MySQL database.
Create the volume mount as an environment variable and define the path where your service's data is stored.
Additionally, you always need to change the owner to a non-root user by defining an CHANGE_OWNER
environment variable. For security reasons it is not possible to access storage of a service as the root user (See also the instructions at creating a service). The CHANGE_OWNER
variable should look something like this.
You can also manage paths and files inside your storage with your file browser.