@if ($resource->type() === 'service' || data_get($resource, 'build_pack') === 'dockercompose')
Volume mounts are read-only. If you would like to add or modify a volume, you must edit your Docker Compose file and reload the compose file.
@endif @foreach ($resource->persistentStorages as $storage) @if ($resource->type() === 'service') @else @endif @endforeach