2024-01-07 15:23:41 +00:00
< div >
2024-06-07 09:01:10 +00:00
< x - slot : title >
2026-02-16 01:54:19 +00:00
Settings | MapleDeploy
2025-11-03 07:57:52 +00:00
</ x - slot >
< x - settings . navbar />
< div x - data = " { activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' } "
class = " flex flex-col h-full gap-8 sm:flex-row " >
< x - settings . sidebar activeMenu = " general " />
< form wire : submit = 'submit' class = " flex flex-col " >
< div class = " flex items-center gap-2 " >
< h2 > General </ h2 >
2025-11-25 15:40:35 +00:00
< x - forms . button canGate = " update " : canResource = " $settings " type = " submit " >
2025-11-03 07:57:52 +00:00
Save
</ x - forms . button >
</ div >
2026-02-16 01:54:19 +00:00
< div class = " pb-4 " > General configuration for your MapleDeploy instance .</ div >
2024-08-06 12:36:56 +00:00
2025-11-03 07:57:52 +00:00
< div class = " flex flex-col gap-2 " >
< div class = " flex flex-wrap items-end gap-2 " >
< div class = " flex gap-2 md:flex-row flex-col w-full " >
2026-03-15 01:13:17 +00:00
{{ -- MapleDeploy branding : FQDN is managed during provisioning , shown as disabled -- }}
< x - forms . input id = " fqdn " label = " URL " disabled
helper = " Enter the full URL of the instance (for example, https://dashboard.example.com).<br><br>
< span class = 'dark:text-warning text-coollabs' > Important : </ span >
If you want the dashboard to be accessible over HTTPS , you must include < b > https ://</ b > at the start of the URL . Without it , the dashboard will use HTTP and won ' t be secured . "
placeholder = " https://coolify.yourdomain.com " />
2026-02-16 01:54:19 +00:00
< x - forms . input canGate = " update " : canResource = " $settings " id = " instance_name " label = " Name " placeholder = " MapleDeploy "
helper = " Custom name for your MapleDeploy instance, shown in the URL. " />
2025-11-03 07:57:52 +00:00
< div class = " w-full " x - data = " {
2025-06-30 06:50:17 +00:00
open : false ,
search : '{{ $settings->instance_timezone ?: ' ' }}' ,
timezones : @ js ( $this -> timezones ),
placeholder : '{{ $settings->instance_timezone ? ' Search timezone ... ' : ' Select Server Timezone ' }}' ,
init () {
this . $watch ( 'search' , value => {
if ( value === '' ) {
this . open = true ;
}
})
}
} " >
2025-11-03 07:57:52 +00:00
< div class = " flex items-center mb-1 " >
< label for = " instance_timezone " > Instance
Timezone </ label >
< x - helper class = " ml-2 "
2026-02-16 01:54:19 +00:00
helper = " Timezone for the MapleDeploy instance. This is used for the update check and automatic update frequency. " />
2025-06-30 06:50:17 +00:00
</ div >
2025-11-03 07:57:52 +00:00
< div class = " relative " >
< div class = " inline-flex relative items-center w-full " >
< input autocomplete = " off "
wire : dirty . class . remove = 'dark:focus:ring-coolgray-300 dark:ring-coolgray-300'
wire : dirty . class = " dark:focus:ring-warning dark:ring-warning "
x - model = " search " @ focus = " open = true " @ click . away = " open = false "
@ input = " open = true " class = " w-full input " : placeholder = " placeholder "
wire : model = " instance_timezone " >
< svg class = " absolute right-0 mr-2 w-4 h-4 " xmlns = " http://www.w3.org/2000/svg "
fill = " none " viewBox = " 0 0 24 24 " stroke - width = " 1.5 " stroke = " currentColor "
@ click = " open = true " >
< path stroke - linecap = " round " stroke - linejoin = " round "
d = " M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9 " />
</ svg >
</ div >
< div x - show = " open "
class = " overflow-auto overflow-x-hidden absolute z-50 mt-1 w-full max-h-60 bg-white rounded-md border shadow-lg dark:bg-coolgray-100 dark:border-coolgray-200 scrollbar " >
< template
x - for = " timezone in timezones.filter(tz => tz.toLowerCase().includes(search.toLowerCase())) "
: key = " timezone " >
< div @ click = " search = timezone; open = false; $wire .set('instance_timezone', timezone); $wire .submit() "
class = " px-4 py-2 text-gray-800 cursor-pointer hover:bg-gray-100 dark:hover:bg-coolgray-300 dark:text-gray-200 "
x - text = " timezone " ></ div >
</ template >
</ div >
2025-06-30 06:50:17 +00:00
</ div >
2024-08-26 13:26:08 +00:00
</ div >
2024-08-16 13:58:33 +00:00
</ div >
2026-03-15 01:13:17 +00:00
{{ -- MapleDeploy branding : IP addresses are managed during provisioning , shown as disabled -- }}
2025-11-03 07:57:52 +00:00
< div class = " flex gap-2 md:flex-row flex-col w-full " >
2026-03-15 01:13:17 +00:00
< x - forms . input id = " public_ipv4 " type = " password " label = " Instance's Public IPv4 " disabled
2026-02-16 01:54:19 +00:00
helper = " Enter the IPv4 address of the instance.<br><br>It is useful if you have several IPv4 addresses and MapleDeploy could not detect the correct one. "
2025-11-03 07:57:52 +00:00
placeholder = " 1.2.3.4 " autocomplete = " new-password " />
2026-03-15 01:13:17 +00:00
< x - forms . input id = " public_ipv6 " type = " password " label = " Instance's Public IPv6 " disabled
2026-02-16 01:54:19 +00:00
helper = " Enter the IPv6 address of the instance.<br><br>It is useful if you have several IPv6 addresses and MapleDeploy could not detect the correct one. "
2025-11-03 07:57:52 +00:00
placeholder = " 2001:db8::1 " autocomplete = " new-password " />
2025-11-02 17:13:58 +00:00
</ div >
2025-11-03 07:57:52 +00:00
@ if ( $buildActivityId )
< div class = " w-full mt-4 " >
< livewire : activity - monitor header = " Building Helper Image " : activityId = " $buildActivityId "
: fullHeight = " false " />
</ div >
@ endif
@ if ( isDev ())
2025-11-25 15:40:35 +00:00
< x - forms . input canGate = " update " : canResource = " $settings " id = " dev_helper_version " label = " Dev Helper Version (Development Only) "
helper = " Override the default coolify-helper image version. Leave empty to use the default version from config ( { { config('constants.coolify.helper_version') }}). Examples: 1.0.11, latest, dev "
placeholder = " { { config('constants.coolify.helper_version') }} " />
2025-11-03 07:57:52 +00:00
@ endif
2024-10-21 12:26:34 +00:00
</ div >
2025-11-03 07:57:52 +00:00
</ form >
< x - domain - conflict - modal : conflicts = " $domainConflicts " : showModal = " $showDomainConflictModal "
confirmAction = " confirmDomainUsage " >
< x - slot : consequences >
< ul class = " mt-2 ml-4 list-disc " >
2026-02-16 01:54:19 +00:00
< li > The MapleDeploy instance domain will conflict with existing resources </ li >
2025-11-03 07:57:52 +00:00
< li > SSL certificates might not work correctly </ li >
< li > Routing behavior will be unpredictable </ li >
2026-02-16 01:54:19 +00:00
< li > You may not be able to access the MapleDeploy dashboard properly </ li >
2025-11-03 07:57:52 +00:00
</ ul >
</ x - slot : consequences >
</ x - domain - conflict - modal >
</ div >
</ div >