@php
$configuredCount = collect($domainRows)->where('is_suggested', false)->count();
$suggestedCount = collect($domainRows)->where('is_suggested', true)->count();
$hasRows = count($domainRows) > 0;
$helperText = $isCompose
? 'Manage domains for every service in this Docker Compose application.'
: 'Manage domains for this application.';
@endphp
@can('update', $application)
Recheck DNS
@endcan
@if ($labelsAreWritable)
Container label readonly mode is disabled. Domains must be set in the Labels section on the General page.
@endif
@if ($isCompose && count($composeServices) === 0)
No non-database services found in the Docker Compose file. Domains can only be assigned to application
services.
@endif
@cannot('update', $application)
You don't have permission to manage domains. Contact your team administrator for access.
@endcannot
@if (! $isCompose)
@if ($labelsAreWritable)
@if ($application->redirect === 'both')
@elseif ($application->redirect === 'www')
@elseif ($application->redirect === 'non-www')
@endif
@else