General configuration for your application.
@if (!$application->dockerfile && $application->build_pack !== 'dockerimage')
@if ($application->settings->is_static || $application->build_pack === 'static')
@endif
@if ($application->could_set_build_commands())
@endif
@if ($application->build_pack === 'dockercompose')
@if (count($parsedServices) > 0 && !$application->settings->is_raw_compose_deployment_enabled)
Domains
@foreach (data_get($parsedServices, 'services') as $serviceName => $service)
@if (!isDatabaseImage(data_get($service, 'image')))
Generate
Domain
@endif
@endforeach
@endif
@endif
@endif
@if ($application->build_pack !== 'dockercompose')
Generate Domain
@endif
@if ($application->build_pack !== '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
@if ($application->build_pack !== 'dockerimage')
Build
@if ($application->build_pack !== 'dockercompose')
@endif
@if ($application->could_set_build_commands())
@if ($application->build_pack === 'nixpacks')
Nixpacks will detect the required configuration automatically.
Framework
Specific Docs
@endif
@endif
@if ($application->build_pack === 'dockercompose')
The following commands are for advanced use cases. Only modify them if you
know what are
you doing.
{{-- --}}
@else
@if ($application->build_pack === 'dockerfile' && !$application->dockerfile)
@endif
@if ($application->build_pack === '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
@endif
@else
@endif
@if ($application->build_pack === 'dockercompose')
Reload Compose File
@if ($application->settings->is_raw_compose_deployment_enabled)
@else
@endif
{{--
--}}
@endif
@if ($application->dockerfile)
@endif
@if ($application->build_pack !== 'dockercompose')
Network
@if ($application->settings->is_static || $application->build_pack === 'static')
@else
@endif
@if (!$application->destination->server->isSwarm())
@endif
Reset to Coolify Generated Labels
@endif
Pre/Post Deployment Commands