Environment Variables

{{ $view === 'normal' ? 'Developer view' : 'Normal view' }}
Environment variables (secrets) for this resource.
@if ($this->resourceClass === 'App\Models\Application' && data_get($this->resource, 'build_pack') !== 'dockercompose')
@endif @if ($resource->type() === 'service' || $resource?->build_pack === 'dockercompose')
Hardcoded variables are not shown here.
{{--
If you would like to add a variable, you must add it to your compose file.
--}} @endif
@if ($view === 'normal') @forelse ($resource->environment_variables 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 as $env) @endforeach @endif @else
Save
@if ($showPreview)
Save
@endif @endif