fix(ui): improve volume mount warning for compose applications (#7947)

This commit is contained in:
ShadowArcanist 2026-01-13 20:40:00 +01:00 committed by GitHub
parent aed11b4d67
commit 728396f410
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,8 +2,7 @@
<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">
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.
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)