Update dynamic configuration setup and version number

This commit is contained in:
Andras Bacsai 2024-03-27 18:41:19 +01:00
parent cfbee40ecd
commit 833a4b9367
4 changed files with 10 additions and 8 deletions

View File

@ -34,11 +34,13 @@ class Init extends Command
$this->cleanup_stucked_helper_containers(); $this->cleanup_stucked_helper_containers();
$this->call('cleanup:queue'); $this->call('cleanup:queue');
$this->call('cleanup:stucked-resources'); $this->call('cleanup:stucked-resources');
try { if (!isCloud()) {
$server = Server::find(0)->first(); try {
$server->setupDynamicProxyConfiguration(); $server = Server::find(0)->first();
} catch (\Throwable $e) { $server->setupDynamicProxyConfiguration();
echo "Could not setup dynamic configuration: {$e->getMessage()}\n"; } catch (\Throwable $e) {
echo "Could not setup dynamic configuration: {$e->getMessage()}\n";
}
} }
$settings = InstanceSettings::get(); $settings = InstanceSettings::get();

View File

@ -7,7 +7,7 @@ return [
// The release version of your application // The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
'release' => '4.0.0-beta.247', 'release' => '4.0.0-beta.248',
// When left empty or `null` the Laravel environment will be used // When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'), 'environment' => config('app.env'),

View File

@ -1,3 +1,3 @@
<?php <?php
return '4.0.0-beta.247'; return '4.0.0-beta.248';

View File

@ -1,7 +1,7 @@
{ {
"coolify": { "coolify": {
"v4": { "v4": {
"version": "4.0.0-beta.247" "version": "4.0.0-beta.248"
} }
} }
} }