Fix styling

This commit is contained in:
andrasbacsai 2024-06-14 12:24:28 +00:00 committed by github-actions[bot]
parent e0a2e3bd0c
commit 2b6fc16637

View File

@ -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());