{{-- Temporarily hidden: the "Compose parser" dev hint and the "View details" resource-details modal trigger. --}} @if ($buildPack === 'dockercompose')
{{ $application->docker_compose_raw ? 'Reload compose' : 'Load compose' }}
@endif
@php $domainCount = 0; if ($buildPack === 'dockercompose') { $composeDomains = $application->docker_compose_domains ? json_decode($application->docker_compose_domains, true) : null; if (is_array($composeDomains)) { foreach ($composeDomains as $serviceDomain) { $domainString = data_get($serviceDomain, 'domain'); if (filled($domainString)) { $domainCount += countDomains($domainString); } } } } elseif (filled($fqdn)) { $domainCount = countDomains($fqdn); } @endphp

@if ($domainCount === 0) No domains set. @elseif ($domainCount === 1) 1 domain set. @else {{ $domainCount }} domains set. @endif Manage domains, DNS checks, and www redirects on the Domains page .

Manage domains
@if (!$application->dockerfile && $application->build_pack !== 'dockerimage')
@if ($isStatic || $buildPack === 'static') @endif
@endif @if ($application->could_set_build_commands() || ($isStatic && $buildPack !== 'static'))
@endif
@if ($application->build_pack === 'dockerimage')

Nothing to build. This application deploys a prebuilt Docker image.

@else
@if ($buildPack === 'dockercompose')
The following commands are for advanced use cases. Only modify them if you know what are you doing.
@if ($this->dockerComposeCustomBuildCommand)
@endif @if ($this->dockerComposeCustomStartCommand)
@endif @if ($this->application->is_github_based() && !$this->application->is_public_repository())
@endif
@else
@if ($buildPack === 'dockerfile' && !$application->dockerfile) @endif @if ($buildPack === 'dockerfile') @endif @if ($application->could_set_build_commands()) @if ($application->settings->is_static) @else @endif @endif
@if ($this->application->is_github_based() && !$this->application->is_public_repository())
@endif @if ($application->could_set_build_commands() && ($buildPack === 'nixpacks' || $buildPack === 'railpack'))
@endif @if ($buildPack !== 'dockercompose') @php $hasBuildServers = \App\Models\Server::buildServers(currentTeam()->id)->exists(); $buildServerOptions = [ ['value' => false, 'label' => 'Deployment server'], $hasBuildServers ? ['value' => true, 'label' => 'Available build server (auto-select)'] : ['value' => true, 'label' => 'No build servers connected', 'disabled' => true], ]; @endphp
@endif @endif
@endif
@if ($isStatic || $buildPack === 'static')
@can('update', $application) @endcan
@endif @if ($buildPack === 'dockercompose')

Docker Compose

@if ($application->settings->is_raw_compose_deployment_enabled) @else @if ((int) $application->compose_parsing_version >= 3)
@endif
@endif
{{-- --}}
@endif @if ($application->dockerfile)
@endif
@if ($buildPack !== 'dockercompose') @if ($application->destination->server->isSwarm()) @if ($application->build_pack !== 'dockerimage')
Docker Swarm requires the image to be available in a registry. More info here.
@endif @endif
@if ($application->build_pack === 'dockerimage') @if ($application->destination->server->isSwarm()) @else @endif @else @if ( $application->destination->server->isSwarm() || $application->additional_servers->count() > 0 || $application->settings->is_build_server_enabled) @else @endif @endif
@endif @if ($buildPack !== 'dockercompose') @if ($this->detectedPortInfo) @if ($this->detectedPortInfo['isEmpty'])
PORT environment variable detected ({{ $this->detectedPortInfo['port'] }})

Your Ports Exposes field is empty. Consider setting it to {{ $this->detectedPortInfo['port'] }} to ensure the proxy routes traffic correctly.

@elseif (!$this->detectedPortInfo['matches'])
PORT mismatch detected

Your PORT environment variable is set to {{ $this->detectedPortInfo['port'] }}, but it's not in your Ports Exposes configuration. Ensure they match for proper proxy routing.

@else
PORT environment variable configured

Your PORT environment variable ({{ $this->detectedPortInfo['port'] }}) matches your Ports Exposes configuration.

@endif @endif @if ((empty($portsExposes) || $portsExposes === '0') && !empty($fqdn)) This application does not expose any ports and will not be reachable through the proxy or your domains. This behavior is normal for background workers, bots, or scheduled tasks. If your application needs to handle HTTP traffic, please specify the port(s) it listens on. @endif
@if ($isStatic || $buildPack === 'static') @else @if ($application->settings->is_container_label_readonly_enabled === false) @else @endif @endif @if (!$application->destination->server->isSwarm()) @endif @if (!$application->destination->server->isSwarm()) @endif
@if ($application->settings->is_container_label_readonly_enabled == false) @else @if ($isHttpBasicAuthEnabled)
@endif @endif
@endif
@if ($buildPack === 'dockercompose') @endif
@if ($buildPack === 'dockercompose') @endif
@if ($buildPack !== 'dockercompose')
@can('update', $application) @endcan
@if ($application->settings->is_container_label_readonly_enabled) @else @endif
@endif
@script @endscript