fix: database ui is realtime based

This commit is contained in:
Andras Bacsai
2023-12-11 09:02:53 +01:00
parent 771dc30b81
commit 720bb8c478
8 changed files with 48 additions and 6 deletions

View File

@@ -105,7 +105,7 @@ class StartMysql
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml pull";
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml up -d";
$this->commands[] = "echo '{$database->name} started.'";
return remote_process($this->commands, $database->destination->server);
return remote_process($this->commands, $database->destination->server,callEventOnFinish: 'DatabaseStatusChanged');
}
private function generate_local_persistent_volumes()