Skip to content

Commit 3a1e5f7

Browse files
authored
Merge pull request coollabsio#2675 from coollabsio/next
v4.0.0-beta.304
2 parents fe7eaa5 + 8d85976 commit 3a1e5f7

File tree

4 files changed

+23
-23
lines changed

4 files changed

+23
-23
lines changed

app/Models/Service.php

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -840,26 +840,26 @@ public function saveComposeConfigs()
840840

841841
$json = Yaml::parse($this->docker_compose);
842842
$envs_from_coolify = $this->environment_variables()->get();
843-
foreach ($json['services'] as $service => $config) {
844-
if (data_get($config, 'environment') === null) {
845-
data_set($json, "services.$service.environment", []);
846-
$envs = collect([]);
847-
} else {
848-
$envs = collect($config['environment']);
849-
}
850-
// $envs->put('COOLIFY_CONTAINER_NAME', "$service-{$this->uuid}");
851-
foreach ($envs_from_coolify as $env) {
852-
$envs = $envs->map(function ($value) use ($env) {
853-
if (str($value)->startsWith($env->key)) {
854-
return "{$env->key}={$env->real_value}";
855-
}
856-
857-
return $value;
858-
});
859-
}
860-
$envs = $envs->unique();
861-
data_set($json, "services.$service.environment", $envs->toArray());
862-
}
843+
// foreach ($json['services'] as $service => $config) {
844+
// if (data_get($config, 'environment') === null) {
845+
// data_set($json, "services.$service.environment", []);
846+
// $envs = collect([]);
847+
// } else {
848+
// $envs = collect($config['environment']);
849+
// }
850+
// // $envs->put('COOLIFY_CONTAINER_NAME', "$service-{$this->uuid}");
851+
// foreach ($envs_from_coolify as $env) {
852+
// $envs = $envs->map(function ($value) use ($env) {
853+
// if (str($value)->startsWith($env->key)) {
854+
// return "{$env->key}={$env->real_value}";
855+
// }
856+
857+
// return $value;
858+
// });
859+
// }
860+
// $envs = $envs->unique();
861+
// data_set($json, "services.$service.environment", $envs->toArray());
862+
// }
863863
$this->docker_compose = Yaml::dump($json, 10, 2, Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK);
864864
$docker_compose_base64 = base64_encode($this->docker_compose);
865865

config/sentry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
// The release version of your application
99
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
10-
'release' => '4.0.0-beta.303',
10+
'release' => '4.0.0-beta.304',
1111
// When left empty or `null` the Laravel environment will be used
1212
'environment' => config('app.env'),
1313

config/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<?php
22

3-
return '4.0.0-beta.303';
3+
return '4.0.0-beta.304';

versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"coolify": {
33
"v4": {
4-
"version": "4.0.0-beta.303"
4+
"version": "4.0.0-beta.304"
55
}
66
}
77
}

0 commit comments

Comments
 (0)