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
refactor(deployment): remove redundant environment variable documentation from Dockerfile comments to streamline the deployment process
Andras Bacsaif084ded6e9e8
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex 8851577e02..b8656e14a5 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -2764,19 +2764,6 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf");'',];- // Get the environment variables to document which secrets are available- $envs = $this->pull_request_id === 0- ? $this->application->environment_variables()->where('key', 'not like', 'NIXPACKS_%')->get()- : $this->application->environment_variables_preview()->where('key', 'not like', 'NIXPACKS_%')->get();-- if ($envs->count() > 0) {- $secretsComment[] = '# Available secrets:';- foreach ($envs as $env) {- $secretsComment[] = "# - {$env->key}";- }- $secretsComment[] = '';- }-// Find where to insert the comments (after FROM statement)$fromIndex = $dockerfile->search(function ($line) {return str_starts_with(trim(strtoupper($line)), 'FROM');