An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: conditionally enable buildtime checkbox based on environment type
Andras Bacsai7009cef8a448
diff --git a/resources/views/livewire/project/shared/environment-variable/show.blade.php b/resources/views/livewire/project/shared/environment-variable/show.blade.phpindex 2c2b3899bb..68e1d7e7d9 100644--- a/resources/views/livewire/project/shared/environment-variable/show.blade.php+++ b/resources/views/livewire/project/shared/environment-variable/show.blade.php@@ -80,9 +80,11 @@@if ($isSharedVariable)<x-forms.checkbox disabled id="is_multiline" label="Is Multiline?" />@else- <x-forms.checkbox disabled id="is_buildtime"- helper="Make this variable available during Docker build process. Useful for build secrets and dependencies."- label="Available at Buildtime" />+ @if (!$env->is_nixpacks)+ <x-forms.checkbox disabled id="is_buildtime"+ helper="Make this variable available during Docker build process. Useful for build secrets and dependencies."+ label="Available at Buildtime" />+ @endif<x-forms.checkbox disabled id="is_runtime"helper="Make this variable available in the running container at runtime."label="Available at Runtime" />@@ -230,9 +232,11 @@@if ($isSharedVariable)<x-forms.checkbox disabled id="is_multiline" label="Is Multiline?" />@else- <x-forms.checkbox disabled id="is_buildtime"- helper="Make this variable available during Docker build process. Useful for build secrets and dependencies."- label="Available at Buildtime" />+ @if (!$env->is_nixpacks)+ <x-forms.checkbox disabled id="is_buildtime"+ helper="Make this variable available during Docker build process. Useful for build secrets and dependencies."+ label="Available at Buildtime" />+ @endif<x-forms.checkbox disabled id="is_runtime"helper="Make this variable available in the running container at runtime."label="Available at Runtime" />