@if (
$resource->getMorphClass() == 'App\Models\Application' ||
$resource->getMorphClass() == 'App\Models\StandalonePostgresql' ||
$resource->getMorphClass() == 'App\Models\StandaloneRedis' ||
$resource->getMorphClass() == 'App\Models\StandaloneMariadb' ||
$resource->getMorphClass() == 'App\Models\StandaloneKeydb' ||
$resource->getMorphClass() == 'App\Models\StandaloneDragonfly' ||
$resource->getMorphClass() == 'App\Models\StandaloneClickhouse' ||
$resource->getMorphClass() == 'App\Models\StandaloneMongodb')
Storages
@if ($resource?->build_pack !== 'dockercompose')
@endif
Persistent storage to preserve data between deployments.
@if ($resource?->build_pack === 'dockercompose')
Please modify storage layout in your Docker Compose
file or reload the compose file to reread the storage layout.
@endif
@if ($resource->persistentStorages()->get()->count() === 0 && $resource->fileStorages()->get()->count() == 0)
No storage found.
@endif
@if ($resource->persistentStorages()->get()->count() > 0)
@endif
@if ($resource->fileStorages()->get()->count() > 0)
@foreach ($resource->fileStorages()->get()->sort() as $fileStorage)
@endforeach
@endif
@else
@if ($resource->persistentStorages()->get()->count() > 0)
{{ Str::headline($resource->name) }}
@endif
@if ($resource->persistentStorages()->get()->count() > 0)
@endif
@if ($resource->fileStorages()->get()->count() > 0)
@foreach ($resource->fileStorages()->get()->sort() as $fileStorage)
@endforeach
@endif
@endif