Merge branch 'next' of github.com:coollabsio/coolify into next
This commit is contained in:
commit
5ec2cbdf19
@ -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 New Issue
Block a user