Merge branch 'next' of github.com:coollabsio/coolify into next
This commit is contained in:
commit
5ec2cbdf19
1 changed files with 1 additions and 1 deletions
|
|
@ -839,7 +839,7 @@ public function saveComposeConfigs()
|
|||
$commands[] = "cd $workdir";
|
||||
|
||||
$json = Yaml::parse($this->docker_compose);
|
||||
foreach($json['services'] as $service => $config) {
|
||||
foreach ($json['services'] as $service => $config) {
|
||||
$envs = collect($config['environment']);
|
||||
$envs->push("COOLIFY_CONTAINER_NAME=$service-{$this->uuid}");
|
||||
data_set($json, "services.$service.environment", $envs->toArray());
|
||||
|
|
|
|||
Loading…
Reference in a new issue