@@ -188,7 +188,7 @@ class="px-4 py-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-coolgray-300 tex
188
188
<div class =" flex flex-wrap items-center gap-4" >
189
189
<div class =" w-64" >
190
190
<x-forms .checkbox
191
- helper =" Enabling force Docker Cleanup will perform the following actions:
191
+ helper =" Enabling Force Docker Cleanup or manually triggering a cleanup will perform the following actions:
192
192
<ul class='list-disc pl-4 mt-2'>
193
193
<li>Removes stopped containers manged by Coolify (as containers are none persistent, no data will be lost).</li>
194
194
<li>Deletes unused images.</li>
@@ -199,9 +199,22 @@ class="px-4 py-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-coolgray-300 tex
199
199
</ul>"
200
200
instantSave id =" server.settings.force_docker_cleanup" label =" Force Docker Cleanup" />
201
201
</div >
202
- <x-forms .button wire:click =" manualCleanup" >
203
- Manually Trigger Cleanup
204
- </x-forms .button >
202
+ <x-modal-confirmation
203
+ title =" Confirm Docker Cleanup?"
204
+ buttonTitle =" Trigger Docker Cleanup"
205
+ submitAction =" manualCleanup"
206
+ :actions =" [
207
+ 'Permanently deletes all stopped containers managed by Coolify (as containers are non-persistent, no data will be lost)',
208
+ 'Permanently deletes all unused images',
209
+ 'Clears build cache',
210
+ 'Removes old versions of the Coolify helper image',
211
+ 'Optionally permanently deletes all unused volumes (if enabled in advanced options).',
212
+ 'Optionally permanently deletes all unused networks (if enabled in advanced options).'
213
+ ]"
214
+ :confirmWithText =" false"
215
+ :confirmWithPassword =" false"
216
+ step2ButtonText =" Trigger Docker Cleanup"
217
+ />
205
218
</div >
206
219
@if ($server -> settings -> force_docker_cleanup )
207
220
<x-forms .input placeholder =" */10 * * * *" id =" server.settings.docker_cleanup_frequency"
0 commit comments