Save Volumes
Saves volume configuration for a repository.
Request Body
1{
2 "repository": "my-project/my-app",
3 "volumes": [
4 {"name": "my-data", "target": "/data", "mode": "rw"},
5 {"name": "config", "target": "/config", "mode": "ro"}
6 ]
7}
Example
1curl -X PUT "https://api.hola.cloud/api/console/volumes" \
2 -H "Content-Type: application/json" \
3 -d '{
4 "repository": "my-project/my-app",
5 "volumes": [
6 {"name": "my-data", "target": "/data", "mode": "rw"}
7 ]
8 }'
Comments