{{ data_get_str($application, 'name')->limit(10) }} > Configuration | MapleDeploy

Configuration

@php $applicationRouteParameters = [ 'project_uuid' => $project->uuid, 'environment_uuid' => $environment->uuid, 'application_uuid' => $application->uuid, ]; $configurationMenuItems = [ [ 'label' => 'General', 'route' => 'project.application.configuration', 'active' => $currentRoute === 'project.application.configuration', ], [ 'label' => 'Advanced', 'route' => 'project.application.advanced', 'active' => $currentRoute === 'project.application.advanced', ], [ 'label' => 'Swarm', 'route' => 'project.application.swarm', 'active' => $currentRoute === 'project.application.swarm', 'visible' => $application->destination->server->isSwarm(), ], [ 'label' => 'Environment Variables', 'route' => 'project.application.environment-variables', 'active' => $currentRoute === 'project.application.environment-variables', ], [ 'label' => 'Persistent Storage', 'route' => 'project.application.persistent-storage', 'active' => $currentRoute === 'project.application.persistent-storage', ], [ 'label' => 'Git Source', 'route' => 'project.application.source', 'active' => $currentRoute === 'project.application.source', 'visible' => $application->git_based(), ], [ 'label' => 'Servers', 'route' => 'project.application.servers', 'active' => $currentRoute === 'project.application.servers', 'badge' => true, ], [ 'label' => 'Scheduled Tasks', 'route' => 'project.application.scheduled-tasks.show', 'active' => str($currentRoute)->startsWith('project.application.scheduled-tasks'), ], [ 'label' => 'Webhooks', 'route' => 'project.application.webhooks', 'active' => $currentRoute === 'project.application.webhooks', ], [ 'label' => 'Preview Deployments', 'route' => 'project.application.preview-deployments', 'active' => $currentRoute === 'project.application.preview-deployments', 'visible' => $application->git_based() || $application->build_pack === 'dockerimage', ], [ 'label' => 'Healthcheck', 'route' => 'project.application.healthcheck', 'active' => $currentRoute === 'project.application.healthcheck', 'visible' => $application->build_pack !== 'dockercompose', ], [ 'label' => 'Rollback', 'route' => 'project.application.rollback', 'active' => $currentRoute === 'project.application.rollback', ], [ 'label' => 'Resource Limits', 'route' => 'project.application.resource-limits', 'active' => $currentRoute === 'project.application.resource-limits', ], [ 'label' => 'Resource Operations', 'route' => 'project.application.resource-operations', 'active' => $currentRoute === 'project.application.resource-operations', ], [ 'label' => 'Metrics', 'route' => 'project.application.metrics', 'active' => $currentRoute === 'project.application.metrics', ], [ 'label' => 'Tags', 'route' => 'project.application.tags', 'active' => $currentRoute === 'project.application.tags', ], [ 'label' => 'Danger Zone', 'route' => 'project.application.danger', 'active' => $currentRoute === 'project.application.danger', ], ]; $configurationMenuItems = array_values(array_filter( $configurationMenuItems, fn (array $item): bool => $item['visible'] ?? true, )); @endphp
@if ($currentRoute === 'project.application.configuration') @elseif ($currentRoute === 'project.application.swarm' && $application->destination->server->isSwarm()) @elseif ($currentRoute === 'project.application.advanced') @elseif ($currentRoute === 'project.application.environment-variables') @elseif ($currentRoute === 'project.application.persistent-storage') @elseif ($currentRoute === 'project.application.source' && $application->git_based()) @elseif ($currentRoute === 'project.application.servers') @elseif ($currentRoute === 'project.application.scheduled-tasks.show') @elseif ($currentRoute === 'project.application.scheduled-tasks') @elseif ($currentRoute === 'project.application.webhooks') @elseif ($currentRoute === 'project.application.preview-deployments') @elseif ($currentRoute === 'project.application.healthcheck' && $application->build_pack !== 'dockercompose') @elseif ($currentRoute === 'project.application.rollback') @elseif ($currentRoute === 'project.application.resource-limits') @elseif ($currentRoute === 'project.application.resource-operations') @elseif ($currentRoute === 'project.application.metrics') @elseif ($currentRoute === 'project.application.tags') @elseif ($currentRoute === 'project.application.danger') @endif