2024-03-21 11:44:32 +00:00
< div x - data = " { raw: true } " >
< div class = " pb-4 " > Volume names are updated upon save . The service UUID will be added as a prefix to all volumes , to
prevent
name collision . < br > To see the actual volume names , check the Deployable Compose file , or go to Storage
menu .</ div >
2024-07-17 12:52:40 +00:00
2024-03-21 11:44:32 +00:00
< div x - cloak x - show = " raw " class = " font-mono " >
2024-06-25 12:29:51 +00:00
< x - forms . textarea allowTab useMonacoEditor monacoEditorLanguage = " yaml " rows = " 20 "
id = " service.docker_compose_raw " >
2024-03-21 11:44:32 +00:00
</ x - forms . textarea >
</ div >
< div x - cloak x - show = " raw === false " class = " font-mono " >
< x - forms . textarea rows = " 20 " readonly id = " service.docker_compose " >
</ x - forms . textarea >
</ div >
2024-07-17 12:52:40 +00:00
< div class = " pt-2 w-72 " >
< x - forms . checkbox label = " Escape special characters in labels? "
helper = " By default, $ (and other chars) is escaped. So if you write $ in the labels, it will be saved as $ $ .<br><br>If you want to use env variables inside the labels, turn this off. "
id = " service.is_container_label_escape_enabled " instantSave ></ x - forms . checkbox >
</ div >
2024-03-21 11:44:32 +00:00
< div class = " flex justify-end w-full gap-2 pt-4 " >
< div class = " flex items-end gap-2 " >
< div x - cloak x - show = " raw " >
2024-05-15 15:52:14 +00:00
< x - forms . button class = " w-64 " @ click . prevent = " raw = !raw " > Show Deployable Compose </ x - forms . button >
2024-03-21 11:44:32 +00:00
</ div >
< div x - cloak x - show = " raw === false " >
2024-05-15 15:52:14 +00:00
< x - forms . button class = " w-64 " @ click . prevent = " raw = !raw " > Show Source
2024-03-21 11:44:32 +00:00
Compose </ x - forms . button >
</ div >
</ div >
2024-04-16 08:44:23 +00:00
< div class = " flex-1 " ></ div >
2024-03-21 11:44:32 +00:00
< x - forms . button class = " w-64 " wire : click . prevent = 'saveEditedCompose' >
Save
</ x - forms . button >
</ div >
</ div >