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";
|
$commands[] = "cd $workdir";
|
||||||
|
|
||||||
$json = Yaml::parse($this->docker_compose);
|
$json = Yaml::parse($this->docker_compose);
|
||||||
foreach($json['services'] as $service => $config) {
|
foreach ($json['services'] as $service => $config) {
|
||||||
$envs = collect($config['environment']);
|
$envs = collect($config['environment']);
|
||||||
$envs->push("COOLIFY_CONTAINER_NAME=$service-{$this->uuid}");
|
$envs->push("COOLIFY_CONTAINER_NAME=$service-{$this->uuid}");
|
||||||
data_set($json, "services.$service.environment", $envs->toArray());
|
data_set($json, "services.$service.environment", $envs->toArray());
|
||||||
|
Loading…
Reference in New Issue
Block a user