fix: instance fqdn setting
This commit is contained in:
@@ -73,7 +73,7 @@ class Configuration extends Component
|
|||||||
{
|
{
|
||||||
$file = "$this->dynamic_config_path/coolify.yaml";
|
$file = "$this->dynamic_config_path/coolify.yaml";
|
||||||
if (empty($this->settings->fqdn)) {
|
if (empty($this->settings->fqdn)) {
|
||||||
remote_process([
|
instant_remote_process([
|
||||||
"rm -f $file",
|
"rm -f $file",
|
||||||
], $this->server);
|
], $this->server);
|
||||||
} else {
|
} else {
|
||||||
@@ -129,7 +129,6 @@ class Configuration extends Component
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
$this->save_configuration_to_disk($traefik_dynamic_conf, $file);
|
$this->save_configuration_to_disk($traefik_dynamic_conf, $file);
|
||||||
dispatch(new ContainerStatusJob($this->server));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -142,7 +141,7 @@ class Configuration extends Component
|
|||||||
$yaml;
|
$yaml;
|
||||||
|
|
||||||
$base64 = base64_encode($yaml);
|
$base64 = base64_encode($yaml);
|
||||||
remote_process([
|
instant_remote_process([
|
||||||
"mkdir -p $this->dynamic_config_path",
|
"mkdir -p $this->dynamic_config_path",
|
||||||
"echo '$base64' | base64 -d > $file",
|
"echo '$base64' | base64 -d > $file",
|
||||||
], $this->server);
|
], $this->server);
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
Save
|
Save
|
||||||
</x-forms.button>
|
</x-forms.button>
|
||||||
</div>
|
</div>
|
||||||
<div class="">General configuration for your Coolify instance.</div>
|
<div>General configuration for your Coolify instance.</div>
|
||||||
|
|
||||||
<div class="flex flex-col gap-2 pt-4">
|
<div class="flex flex-col gap-2 pt-4">
|
||||||
<div class="flex gap-2 w-96">
|
<div class="flex gap-2 w-96">
|
||||||
|
|||||||
Reference in New Issue
Block a user