@if ($resource->type() === 'service' || data_get($resource, 'build_pack') === 'dockercompose')
For docker compose based applications Volume mounts are read-only in the Coolify dashboard. To add, modify, or manage volumes, 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