Fix styling
This commit is contained in:
parent
e0a2e3bd0c
commit
2b6fc16637
@ -839,7 +839,7 @@ class Service extends BaseModel
|
|||||||
$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…
x
Reference in New Issue
Block a user