...
The persistence volume is an optional configuration that can be specified by the user, if the user wants additional volumes to store content. Add a configuration similar to the following in the cartridge definition.
Code Block |
---|
"persistence": { "isRequired": "true", "volume" : [ { "device": "/dev/sdc", "mappingPath": "/home/ubuntu/sdc", "size": "10", "removeOnTermination": "false" } ] } |
...
Stratos provides the capability to specify multiple persistence volumes in the cartridge definition file as follows, in case you require more than one additional volume.
...