remove default value
This commit is contained in:
parent
62a214920d
commit
e9a2310f62
@ -55,7 +55,7 @@ class InstallProxy
|
|||||||
"echo 'Starting proxy...'",
|
"echo 'Starting proxy...'",
|
||||||
'docker compose up -d --remove-orphans',
|
'docker compose up -d --remove-orphans',
|
||||||
"echo 'Proxy installed successfully...'"
|
"echo 'Proxy installed successfully...'"
|
||||||
], $server, ActivityTypes::INLINE->value);
|
], $server);
|
||||||
|
|
||||||
return $activity;
|
return $activity;
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@ class InstallDocker
|
|||||||
"echo '{$config}' | base64 -d > /etc/docker/daemon.json",
|
"echo '{$config}' | base64 -d > /etc/docker/daemon.json",
|
||||||
"echo Restarting Docker...",
|
"echo Restarting Docker...",
|
||||||
"systemctl restart docker"
|
"systemctl restart docker"
|
||||||
], $server, ActivityTypes::INLINE->value);
|
], $server);
|
||||||
|
|
||||||
return $activity;
|
return $activity;
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@ class RunCommand extends Component
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$this->validate();
|
$this->validate();
|
||||||
$activity = remote_process([$this->command], Server::where('uuid', $this->server)->first(), ActivityTypes::INLINE->value);
|
$activity = remote_process([$this->command], Server::where('uuid', $this->server)->first());
|
||||||
$this->emit('newMonitorActivity', $activity->id);
|
$this->emit('newMonitorActivity', $activity->id);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
return general_error_handler($e);
|
return general_error_handler($e);
|
||||||
|
@ -60,7 +60,7 @@ class Form extends Component
|
|||||||
if (empty($this->settings->fqdn)) {
|
if (empty($this->settings->fqdn)) {
|
||||||
remote_process([
|
remote_process([
|
||||||
"rm -f $dynamic_config_path/coolify.yaml",
|
"rm -f $dynamic_config_path/coolify.yaml",
|
||||||
], $server, ActivityTypes::INLINE->value);
|
], $server);
|
||||||
} else {
|
} else {
|
||||||
$url = Url::fromString($this->settings->fqdn);
|
$url = Url::fromString($this->settings->fqdn);
|
||||||
$host = $url->getHost();
|
$host = $url->getHost();
|
||||||
@ -106,7 +106,7 @@ class Form extends Component
|
|||||||
remote_process([
|
remote_process([
|
||||||
"mkdir -p $dynamic_config_path",
|
"mkdir -p $dynamic_config_path",
|
||||||
"echo '$base64' | base64 -d > $dynamic_config_path/coolify.yaml",
|
"echo '$base64' | base64 -d > $dynamic_config_path/coolify.yaml",
|
||||||
], $server, ActivityTypes::INLINE->value);
|
], $server);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,7 @@ class InstanceAutoUpdateJob implements ShouldQueue
|
|||||||
|
|
||||||
remote_process([
|
remote_process([
|
||||||
"bash /data/coolify/source/upgrade.sh $this->latest_version"
|
"bash /data/coolify/source/upgrade.sh $this->latest_version"
|
||||||
], $this->server, ActivityTypes::INLINE->value);
|
], $this->server);
|
||||||
}
|
}
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
Log::error($e->getMessage());
|
Log::error($e->getMessage());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user