2023-09-30 13:08:40 +00:00
|
|
|
<dialog id="composeModal" class="modal" x-data="{ raw: true }">
|
|
|
|
<form method="dialog" class="flex flex-col gap-2 rounded max-w-7xl modal-box" wire:submit.prevent='submit'>
|
|
|
|
<h1>Docker Compose</h1>
|
2023-10-03 06:22:03 +00:00
|
|
|
<div>Volume names are updated upon save. The service UUID will be added as a prefix to all volumes, to prevent name collision. To see the actual volume names, go to Storage menu.</div>
|
2023-09-30 13:08:40 +00:00
|
|
|
<div x-cloak x-show="raw">
|
|
|
|
<x-forms.button class="w-64" @click.prevent="raw = !raw">Check Deployable Compose</x-forms.button>
|
|
|
|
</div>
|
|
|
|
<div x-cloak x-show="raw === false">
|
|
|
|
<x-forms.button class="w-64" @click.prevent="raw = !raw">Show Source
|
|
|
|
Compose</x-forms.button>
|
|
|
|
</div>
|
|
|
|
<div x-cloak x-show="raw">
|
|
|
|
<x-forms.textarea rows="20" id="raw">
|
|
|
|
</x-forms.textarea>
|
|
|
|
</div>
|
|
|
|
<div x-cloak x-show="raw === false">
|
|
|
|
<x-forms.textarea rows="20" readonly id="actual">
|
|
|
|
</x-forms.textarea>
|
|
|
|
</div>
|
|
|
|
<x-forms.button onclick="composeModal.close()" type="submit">
|
|
|
|
Save
|
|
|
|
</x-forms.button>
|
|
|
|
</form>
|
|
|
|
<form method="dialog" class="modal-backdrop">
|
|
|
|
<button>close</button>
|
|
|
|
</form>
|
|
|
|
</dialog>
|