General
Save
<<<<<<< HEAD=======@if ($isConfigurationChanged && !is_null($application->config_hash) && !$application->isExited())
@endif
>>>>>>> 35700ec24 (main: begin major rewrite for lasthour)
General configuration for your application.
@if (!$application->dockerfile && $application->build_pack !== 'dockerimage')
@if ($application->settings->is_static || $application->build_pack === 'static')
@endif
@if ($application->build_pack === 'dockercompose')
@if (
!is_null($parsedServices) &&
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
Set Direction
This will reset the container labels. Are you sure?
@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 === 'dockercompose')
@if (count($parsedServices) > 0 && !$application->settings->is_raw_compose_deployment_enabled)
@foreach (data_get($parsedServices, 'services') as $serviceName => $service)
@if (!isDatabaseImage(data_get($service, 'image')))
@if (!data_get($parsedServiceDomains, "$serviceName.domain"))
Generate
Domain
@endif
@endif
@endforeach
@endif
@endif
@endif
@if ($application->build_pack !== 'dockercompose')
@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 ($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
@if ($application->build_pack !== 'dockercompose')
@endif
@if ($application->could_set_build_commands())
@endif
@endif
@endif
@if ($application->build_pack === 'dockercompose')
@if ($application->settings->is_static || $application->build_pack === 'static')
@else
@endif
@if (!$application->destination->server->isSwarm())
@endif