coolify/resources/views/livewire/server/advanced.blade.php

48 lines
2.9 KiB
PHP
Raw Permalink Normal View History

2024-10-30 13:54:27 +00:00
<div>
2024-11-03 14:07:16 +00:00
<x-slot:title>
{{ data_get_str($server, 'name')->limit(10) }} > Advanced | MapleDeploy
2024-11-03 14:07:16 +00:00
</x-slot>
<livewire:server.navbar :server="$server" />
2024-10-30 13:54:27 +00:00
<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-server.sidebar :server="$server" activeMenu="advanced" />
<form wire:submit='submit' class="w-full">
<div>
<div class="flex items-center gap-2">
<h2>Advanced</h2>
<x-forms.button canGate="update" :canResource="$server" type="submit">Save</x-forms.button>
2024-10-30 13:54:27 +00:00
</div>
<div class="mb-4">Advanced configuration for your server.</div>
2024-10-17 12:56:36 +00:00
</div>
2024-10-30 13:54:27 +00:00
2024-12-17 14:22:10 +00:00
<h3>Disk Usage</h3>
<div class="flex flex-col gap-6">
2024-10-30 13:54:27 +00:00
<div class="flex flex-col">
<div class="flex flex-wrap gap-2 sm:flex-nowrap pt-4">
<x-forms.input canGate="update" :canResource="$server" placeholder="0 23 * * *"
id="serverDiskUsageCheckFrequency" label="Disk usage check frequency" required
2024-12-17 14:22:10 +00:00
helper="Cron expression for disk usage check frequency.<br>You can use every_minute, hourly, daily, weekly, monthly, yearly.<br><br>Default is every night at 11:00 PM." />
<x-forms.input canGate="update" :canResource="$server" id="serverDiskUsageNotificationThreshold"
2024-10-30 13:54:27 +00:00
label="Server disk usage notification threshold (%)" required
helper="If the server disk usage exceeds this threshold, Coolify will send a notification to the team members." />
</div>
</div>
2024-12-17 14:22:10 +00:00
2024-10-30 13:54:27 +00:00
<div class="flex flex-col">
<h3>Builds</h3>
<div class="flex flex-wrap gap-2 sm:flex-nowrap pt-4">
<x-forms.input canGate="update" :canResource="$server" id="concurrentBuilds"
label="Number of concurrent builds" required
2024-10-30 13:54:27 +00:00
helper="You can specify the number of simultaneous build processes/deployments that should run concurrently." />
<x-forms.input canGate="update" :canResource="$server" id="dynamicTimeout"
label="Deployment timeout (seconds)" required
2024-10-30 13:54:27 +00:00
helper="You can define the maximum duration for a deployment to run before timing it out." />
<x-forms.input canGate="update" :canResource="$server" id="deploymentQueueLimit"
label="Deployment queue limit" required
helper="Maximum number of queued deployments allowed. New deployments will be rejected with a 429 status when the limit is reached." />
2024-10-30 13:54:27 +00:00
</div>
</div>
2024-10-17 12:56:36 +00:00
</div>
2024-10-30 13:54:27 +00:00
</form>
2024-10-17 12:56:36 +00:00
</div>
2024-10-30 13:54:27 +00:00
</div>