General

@if (isDev())
{{ $application->compose_parsing_version }}
@endif Save @if ($buildPack === 'dockercompose') {{ $application->docker_compose_raw ? 'Reload Compose File' : 'Load Compose File' }} @endif
General configuration for your application.
@if (!$application->dockerfile && $application->build_pack !== 'dockerimage')
@if ($isStatic || $buildPack === 'static') @endif
@if ($buildPack === 'dockercompose') @if ( !is_null($parsedServices) && count($parsedServices) > 0 && !$application->settings->is_raw_compose_deployment_enabled) @php $hasNonDatabaseService = collect(data_get($parsedServices, 'services', [])) ->contains(fn($service) => !isDatabaseImage(data_get($service, 'image'))); @endphp @if ($hasNonDatabaseService)

Domains

@endif @foreach (data_get($parsedServices, 'services') as $serviceName => $service) @if (!isDatabaseImage(data_get($service, 'image')))
@can('update', $application) Generate Domain @endcan
@endif @endforeach @endif @endif
@endif @if ($isStatic || $buildPack === 'static') @can('update', $application) @endcan @endif @if ($application->could_set_build_commands() || ($isStatic && $buildPack !== 'static'))
@if ($application->could_set_build_commands()) @endif @if ($isStatic && $buildPack !== 'static') @endif
@endif @if ($buildPack !== 'dockercompose')
@if ($application->settings->is_container_label_readonly_enabled == false) @else @can('update', $application) Generate Domain @endcan @endif
@if ($application->settings->is_container_label_readonly_enabled == false) @if ($application->redirect === 'both') @elseif ($application->redirect === 'www') @elseif ($application->redirect === 'non-www') @endif @else @if ($application->settings->is_container_label_readonly_enabled) @can('update', $application)
Set Direction
@endcan @endif @endif
@endif @if ($buildPack !== 'dockercompose')

Docker Registry

@if ($application->build_pack !== 'dockerimage' && !$application->destination->server->isSwarm()) @endif
@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

Build

@if ($application->build_pack === 'dockerimage') @else @if ($application->could_set_build_commands()) @if ($buildPack === 'nixpacks' || $buildPack === 'railpack')
@if ($buildPack === 'nixpacks')
Nixpacks will detect the required configuration automatically. Framework Specific Docs
@endif @endif @endif
@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 ($buildPack !== 'dockercompose')
@endif @endif
@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')

Network

@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

HTTP Basic Authentication

@if ($application->is_http_basic_auth_enabled)
@endif

Labels

@if ($application->settings->is_container_label_readonly_enabled) @else @endif
@can('update', $application) @endcan @endif

Pre/Post Deployment Commands

@if ($buildPack === 'dockercompose') @endif
@if ($buildPack === 'dockercompose') @endif
@script @endscript