2023-04-19 10:42:15 +00:00
< div >
< form wire : submit . prevent = 'submit' class = " flex flex-col " >
2023-05-18 11:26:35 +00:00
< div class = " flex gap-2 " >
< h2 > General </ h2 >
< x - inputs . button type = " submit " >
Save
</ x - inputs . button >
</ div >
2023-05-16 18:47:59 +00:00
< div class = " flex flex-col gap-2 pb-4 " >
2023-05-18 13:12:26 +00:00
< div class = " flex flex-col gap-2 xl:flex-row " >
2023-05-18 11:26:35 +00:00
< x - inputs . input class = " w-full " id = " application.name " label = " Name " required />
2023-05-18 13:12:26 +00:00
< x - inputs . input placeholder = " https://coolify.io " class = " w-full " id = " application.fqdn " label = " Domains "
helper = " You can specify one domain with path or more with comma.<br><span class='inline-block font-bold text-warning'>Example</span>- http://app.coolify.io, https://cloud.coolify.io/dashboard<br>- http://app.coolify.io/api/v3 " />
2023-05-18 11:26:35 +00:00
</ div >
2023-05-16 11:11:05 +00:00
< x - inputs . select id = " application.build_pack " label = " Build Pack " required >
< option value = " nixpacks " > Nixpacks </ option >
< option disabled value = " docker " > Docker </ option >
< option disabled value = " compose " > Compose </ option >
</ x - inputs . select >
@ if ( $application -> settings -> is_static )
< x - inputs . select id = " application.static_image " label = " Static Image " required >
< option value = " nginx:alpine " > nginx : alpine </ option >
< option disabled value = " apache:alpine " > apache : alpine </ option >
2023-05-04 09:43:30 +00:00
</ x - inputs . select >
2023-05-16 11:11:05 +00:00
@ endif
2023-05-18 13:12:26 +00:00
< div class = " flex flex-col gap-2 xl:flex-row " >
< x - inputs . input placeholder = " pnpm install " id = " application.install_command " label = " Install Command " />
< x - inputs . input placeholder = " pnpm build " id = " application.build_command " label = " Build Command " />
< x - inputs . input placeholder = " pnpm start " id = " application.start_command " label = " Start Command " />
2023-05-18 11:26:35 +00:00
</ div >
2023-05-18 13:12:26 +00:00
< div class = " flex flex-col gap-2 xl:flex-row " >
< x - inputs . input placeholder = " / " id = " application.base_directory " label = " Base Directory "
2023-05-18 11:49:49 +00:00
helper = " Directory to use as root. Useful for monorepos. " />
2023-05-18 11:26:35 +00:00
@ if ( $application -> settings -> is_static )
2023-05-18 13:12:26 +00:00
< x - inputs . input placeholder = " /dist " id = " application.publish_directory " label = " Publish Directory "
required />
2023-05-18 11:26:35 +00:00
@ else
2023-05-18 13:12:26 +00:00
< x - inputs . input placeholder = " / " id = " application.publish_directory " label = " Publish Directory " />
2023-05-18 11:26:35 +00:00
@ endif
</ div >
2023-05-18 13:12:26 +00:00
< div class = " flex flex-col gap-2 xl:flex-row " >
2023-05-18 11:26:35 +00:00
@ if ( $application -> settings -> is_static )
< x - inputs . input id = " application.ports_exposes " label = " Ports Exposes " readonly />
@ else
2023-05-18 13:12:26 +00:00
< x - inputs . input placeholder = " 3000,3001 " id = " application.ports_exposes " label = " Ports Exposes "
required helper = " A comma separated list of ports you would like to expose for the proxy. " />
2023-05-18 11:26:35 +00:00
@ endif
2023-05-18 13:12:26 +00:00
< x - inputs . input placeholder = " 3000:3000 " id = " application.ports_mappings " label = " Ports Mappings "
2023-05-18 11:49:49 +00:00
helper = " A comma separated list of ports you would like to map to the host system. Useful when you do not want to use domains.<br><span class='inline-block font-bold text-warning'>Example</span>3000:3000,3002:3002 " />
2023-05-18 11:26:35 +00:00
</ div >
</ div >
< div class = " flex flex-col " >
2023-05-18 11:49:49 +00:00
< x - inputs . checkbox helper = " More logs will be visible during a deployment. " instantSave id = " is_debug "
label = " Debug " />
2023-05-18 11:26:35 +00:00
< x - inputs . checkbox instantSave id = " is_static " label = " Static website? " />
2023-05-18 11:49:49 +00:00
< x - inputs . checkbox helper = " Git Webhooks won't deploy your application is you turn it off. " instantSave
id = " is_auto_deploy " label = " Auto Deploy? " />
2023-05-22 07:53:31 +00:00
{{ -- < x - inputs . checkbox helper = " Preview deployments " instantSave id = " is_previews " label = " Previews? " /> -- }}
2023-05-18 11:26:35 +00:00
< x - inputs . checkbox instantSave id = " is_git_submodules_allowed " label = " Git Submodules Allowed? " />
< x - inputs . checkbox instantSave id = " is_git_lfs_allowed " label = " Git LFS Allowed? " />
2023-05-18 11:49:49 +00:00
{{ -- < x - inputs . checkbox disabled instantSave id = " is_dual_cert " label = " Dual Certs? " />
2023-05-18 11:26:35 +00:00
< x - inputs . checkbox disabled instantSave id = " is_custom_ssl " label = " Is Custom SSL? " />
2023-05-18 11:49:49 +00:00
< x - inputs . checkbox disabled instantSave id = " is_http2 " label = " Is Http2? " /> -- }}
2023-04-19 10:42:15 +00:00
</ div >
</ form >
</ div >