An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
feat(ui): categorize application advanced settings into logical sections
ShadowArcanist1a59c4c7c964
diff --git a/resources/views/livewire/project/application/advanced.blade.php b/resources/views/livewire/project/application/advanced.blade.phpindex 907500dfa5..a9f8c72333 100644--- a/resources/views/livewire/project/application/advanced.blade.php+++ b/resources/views/livewire/project/application/advanced.blade.php@@ -5,8 +5,35 @@</div><div>Advanced configuration for your application.</div><div class="flex flex-col gap-1 pt-4">- <h3>General</h3>+ <h3>Build</h3>+ <x-forms.checkbox helper="Disable Docker build cache on every deployment." instantSave+ id="disableBuildCache" label="Disable Build Cache" canGate="update" :canResource="$application" />+ <x-forms.checkbox+ helper="When enabled, Coolify automatically adds ARG statements to your Dockerfile for build-time variables. Disable this if you manage ARGs manually in your Dockerfile to preserve Docker build cache."+ instantSave id="injectBuildArgsToDockerfile" label="Inject Build Args to Dockerfile" canGate="update"+ :canResource="$application" />+ <x-forms.checkbox+ helper="When enabled, SOURCE_COMMIT (git commit hash) is available during Docker build. Disable to preserve cache across different commits - SOURCE_COMMIT will still be available at runtime."+ instantSave id="includeSourceCommitInBuild" label="Include Source Commit in Build" canGate="update"+ :canResource="$application" />++ <h3 class="pt-4">Container</h3>+ <x-forms.checkbox+ helper="The deployed container will have the same name ({{ $application->uuid }}). <span class='font-bold dark:text-warning'>You will lose the rolling update feature!</span>"+ instantSave id="isConsistentContainerNameEnabled" label="Consistent Container Names" canGate="update"+ :canResource="$application" />+ @if ($isConsistentContainerNameEnabled === false)+ <form class="flex items-end gap-2 " wire:submit.prevent='saveCustomName'>+ <x-forms.input+ helper="You can add a custom name for your container.<br><br>The name will be converted to slug format when you save it. <span class='font-bold dark:text-warning'>You will lose the rolling update feature!</span>"+ instantSave id="customInternalName" label="Custom Container Name" canGate="update"+ :canResource="$application" />+ <x-forms.button canGate="update" :canResource="$application" type="submit">Save</x-forms.button>+ </form>+ @endif+@if ($application->git_based())+ <h3 class="pt-4">Deployment</h3><x-forms.checkbox helper="Automatically deploy new commits based on Git webhooks." instantSaveid="isAutoDeployEnabled" label="Auto Deploy" canGate="update" :canResource="$application" /><x-forms.checkbox@@ -17,18 +44,28 @@helper="When enabled, anyone can trigger PR deployments. When disabled, only repository members, collaborators, and contributors can trigger PR deployments."instantSave id="isPrDeploymentsPublicEnabled" label="Allow Public PR Deployments" canGate="update":canResource="$application" :disabled="!$isPreviewDeploymentsEnabled" />++ <h3 class="pt-4">Git</h3>+ <x-forms.checkbox instantSave id="isGitSubmodulesEnabled" label="Submodules"+ helper="Allow Git Submodules during build process." canGate="update" :canResource="$application" />+ <x-forms.checkbox instantSave id="isGitLfsEnabled" label="LFS"+ helper="Allow Git LFS during build process." canGate="update" :canResource="$application" />+ <x-forms.checkbox instantSave id="isGitShallowCloneEnabled" label="Shallow Clone"+ helper="Use shallow cloning (--depth=1) to speed up deployments by only fetching the latest commit history. This reduces clone time and resource usage, especially for large repositories."+ canGate="update" :canResource="$application" />@endif- <x-forms.checkbox helper="Disable Docker build cache on every deployment." instantSave- id="disableBuildCache" label="Disable Build Cache" canGate="update" :canResource="$application" />- <x-forms.checkbox- helper="When enabled, Coolify automatically adds ARG statements to your Dockerfile for build-time variables. Disable this if you manage ARGs manually in your Dockerfile to preserve Docker build cache."- instantSave id="injectBuildArgsToDockerfile" label="Inject Build Args to Dockerfile" canGate="update"- :canResource="$application" />- <x-forms.checkbox- helper="When enabled, SOURCE_COMMIT (git commit hash) is available during Docker build. Disable to preserve cache across different commits - SOURCE_COMMIT will still be available at runtime."- instantSave id="includeSourceCommitInBuild" label="Include Source Commit in Build" canGate="update"- :canResource="$application" />+ @if ($application->build_pack === 'dockercompose')+ <h3 class="pt-4">Docker Compose</h3>+ <x-forms.checkbox instantSave id="isRawComposeDeploymentEnabled" label="Raw Compose Deployment"+ helper="WARNING: Advanced use cases only. Your docker compose file will be deployed as-is. Nothing is modified by Coolify. You need to configure the proxy parts. More info in the <a class='underline dark:text-white' href='https://coolify.io/docs/knowledge-base/docker/compose#raw-docker-compose-deployment'>documentation.</a>"+ canGate="update" :canResource="$application" />+ <x-forms.checkbox instantSave id="isConnectToDockerNetworkEnabled" label="Connect To Predefined Network"+ helper="By default, you do not reach the Coolify defined networks.<br>Starting a docker compose based resource will have an internal network. <br>If you connect to a Coolify defined network, you maybe need to use different internal DNS names to connect to a resource.<br><br>For more information, check <a class='underline dark:text-white' target='_blank' href='https://coolify.io/docs/knowledge-base/docker/compose#connect-to-predefined-networks'>this</a>."+ canGate="update" :canResource="$application" />+ @endif++ <h3 class="pt-4">Proxy</h3>@if ($application->settings->is_container_label_readonly_enabled)<x-forms.checkboxhelper="Your application will be available only on https if your domain starts with https://..."@@ -49,45 +86,10 @@helper="Readonly labels are disabled. You need to set the labels in the labels section." disabledinstantSave id="isStripprefixEnabled" label="Strip Prefixes" canGate="update" :canResource="$application" />@endif- @if ($application->build_pack === 'dockercompose')- <h3>Docker Compose</h3>- <x-forms.checkbox instantSave id="isRawComposeDeploymentEnabled" label="Raw Compose Deployment"- helper="WARNING: Advanced use cases only. Your docker compose file will be deployed as-is. Nothing is modified by Coolify. You need to configure the proxy parts. More info in the <a class='underline dark:text-white' href='https://coolify.io/docs/knowledge-base/docker/compose#raw-docker-compose-deployment'>documentation.</a>"- canGate="update" :canResource="$application" />- @endif- <h3 class="pt-4">Container Names</h3>- <x-forms.checkbox- helper="The deployed container will have the same name ({{ $application->uuid }}). <span class='font-bold dark:text-warning'>You will lose the rolling update feature!</span>"- instantSave id="isConsistentContainerNameEnabled" label="Consistent Container Names" canGate="update"- :canResource="$application" />- @if ($isConsistentContainerNameEnabled === false)- <form class="flex items-end gap-2 " wire:submit.prevent='saveCustomName'>- <x-forms.input- helper="You can add a custom name for your container.<br><br>The name will be converted to slug format when you save it. <span class='font-bold dark:text-warning'>You will lose the rolling update feature!</span>"- instantSave id="customInternalName" label="Custom Container Name" canGate="update"- :canResource="$application" />- <x-forms.button canGate="update" :canResource="$application" type="submit">Save</x-forms.button>- </form>- @endif- @if ($application->build_pack === 'dockercompose')- <h3 class="pt-4">Network</h3>- <x-forms.checkbox instantSave id="isConnectToDockerNetworkEnabled" label="Connect To Predefined Network"- helper="By default, you do not reach the Coolify defined networks.<br>Starting a docker compose based resource will have an internal network. <br>If you connect to a Coolify defined network, you maybe need to use different internal DNS names to connect to a resource.<br><br>For more information, check <a class='underline dark:text-white' target='_blank' href='https://coolify.io/docs/knowledge-base/docker/compose#connect-to-predefined-networks'>this</a>."- canGate="update" :canResource="$application" />- @endif+<h3 class="pt-4">Logs</h3><x-forms.checkbox helper="Drain logs to your configured log drain endpoint in your Server settings."instantSave id="isLogDrainEnabled" label="Drain Logs" canGate="update" :canResource="$application" />- @if ($application->git_based())- <h3>Git</h3>- <x-forms.checkbox instantSave id="isGitSubmodulesEnabled" label="Submodules"- helper="Allow Git Submodules during build process." canGate="update" :canResource="$application" />- <x-forms.checkbox instantSave id="isGitLfsEnabled" label="LFS"- helper="Allow Git LFS during build process." canGate="update" :canResource="$application" />- <x-forms.checkbox instantSave id="isGitShallowCloneEnabled" label="Shallow Clone"- helper="Use shallow cloning (--depth=1) to speed up deployments by only fetching the latest commit history. This reduces clone time and resource usage, especially for large repositories."- canGate="update" :canResource="$application" />- @endif</div></div>