coolify/resources/views/livewire/project/shared/storages/all.blade.php

19 lines
1.1 KiB
PHP
Raw Normal View History

2023-05-31 08:19:29 +00:00
<div>
<div class="flex flex-col gap-4">
@if ($resource->type() === 'service' || data_get($resource, 'build_pack') === 'dockercompose')
<div class="w-full p-2 text-sm rounded bg-warning/10 text-warning">
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.
</div>
@endif
@foreach ($resource->persistentStorages as $storage)
2023-09-22 09:23:49 +00:00
@if ($resource->type() === 'service')
2023-12-07 18:06:32 +00:00
<livewire:project.shared.storages.show wire:key="storage-{{ $storage->id }}" :storage="$storage"
:resource="$resource" :isFirst="$storage->id === $this->firstStorageId" isService='true' />
2023-09-22 09:23:49 +00:00
@else
2024-04-10 13:00:46 +00:00
<livewire:project.shared.storages.show wire:key="storage-{{ $storage->id }}" :storage="$storage"
:resource="$resource" :isFirst="$storage->id === $this->firstStorageId" startedAt="{{ data_get($resource, 'started_at') }}" />
2023-09-22 09:23:49 +00:00
@endif
@endforeach
2023-05-31 08:19:29 +00:00
</div>
2023-05-05 10:08:38 +00:00
</div>