2023-05-31 08:19:29 +00:00
|
|
|
<div>
|
2023-10-03 06:48:07 +00:00
|
|
|
<div class="flex flex-col gap-4">
|
2025-12-11 20:25:33 +00:00
|
|
|
@if ($resource->type() === 'service' || data_get($resource, 'build_pack') === 'dockercompose')
|
|
|
|
|
<div class="w-full p-2 text-sm rounded bg-warning/10 text-warning">
|
2026-01-13 19:40:00 +00:00
|
|
|
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.
|
2025-12-11 20:25:33 +00:00
|
|
|
</div>
|
|
|
|
|
@endif
|
2023-10-03 06:48:07 +00:00
|
|
|
@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"
|
2025-09-11 11:41:22 +00:00
|
|
|
: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"
|
2025-09-11 11:41:22 +00:00
|
|
|
:resource="$resource" :isFirst="$storage->id === $this->firstStorageId" startedAt="{{ data_get($resource, 'started_at') }}" />
|
2023-09-22 09:23:49 +00:00
|
|
|
@endif
|
2023-10-03 06:48:07 +00:00
|
|
|
@endforeach
|
2023-05-31 08:19:29 +00:00
|
|
|
</div>
|
2023-05-05 10:08:38 +00:00
|
|
|
</div>
|