Environment Variables

@if ($resource->type() !== 'service') New Environment Variable @endif {{ $view === 'normal' ? 'Developer view' : 'Normal view' }}
Environment variables (secrets) for this resource.
@if ($resource->type() === 'service')
If you cannot find a variable here, or need a new one, define it in the Docker Compose file.
@endif
@if ($view === 'normal') @forelse ($resource->environment_variables->sort()->sortBy('real_value') as $env) @empty
No environment variables found.
@endforelse @if ($resource->type() === 'application' && $resource->environment_variables_preview->count() > 0 && $showPreview)

Preview Deployments

Environment (secrets) variables for Preview Deployments.
@foreach ($resource->environment_variables_preview->sort()->sortBy('real_value') as $env) @endforeach @endif @else
Save
@if ($showPreview)
Save
@endif @endif