Servers

Server related configurations.
@if (str($resource->realStatus())->startsWith('running'))
@elseif (str($resource->realStatus())->startsWith('exited'))
@endif
{{ data_get($resource, 'destination.server.name') }}/{{ data_get($resource, 'destination.network') }}
@if ($resource?->additional_networks?->count() > 0) Redeploy @endif
@if ($resource?->additional_networks?->count() > 0) @foreach ($resource->additional_networks as $destination)
@if (str(data_get($destination, 'pivot.status'))->startsWith('running'))
@elseif (str(data_get($destination, 'pivot.status'))->startsWith('exited'))
@endif
{{ data_get($destination, 'server.name') }}/{{ data_get($destination, 'network') }}
Redeploy This will stop the running application in this server and remove it as a deployment destination.

Please think again.
@endforeach @endif
@if ($resource->getMorphClass() === 'App\Models\Application') @if (count($networks) > 0)

Choose another server

@foreach ($networks as $network)
{{ data_get($network, 'server.name') }} {{ $network->name }}
@endforeach
@else
No additional servers available to attach.
@endif @endif