fix(deployment): add COOLIFY_* environment variables to Nixpacks build context for enhanced deployment configuration
This commit is contained in:
parent
2c8f5415f1
commit
49a2942836
1 changed files with 6 additions and 0 deletions
|
|
@ -1600,6 +1600,12 @@ private function generate_nixpacks_env_variables()
|
|||
}
|
||||
}
|
||||
|
||||
// Add COOLIFY_* environment variables to Nixpacks build context
|
||||
$coolify_envs = $this->generate_coolify_env_variables();
|
||||
$coolify_envs->each(function ($value, $key) {
|
||||
$this->env_nixpacks_args->push("--env {$key}={$value}");
|
||||
});
|
||||
|
||||
$this->env_nixpacks_args = $this->env_nixpacks_args->implode(' ');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue