Revert "fix(docker): migrate database start actions from --time to -t flag"

This commit is contained in:
Andras Bacsai authored and GitHub committed 2025-11-28 11:15:55 +01:00
1 parent 2898448fe2
commit 9503da60b4
9 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -223,7 +223,7 @@ class StartPostgresql
$this->commands[] = "echo '{$readme}' > $this->configuration_dir/README.md";
$this->commands[] = "echo 'Pulling {$database->image} image.'";
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml pull";
$this->commands[] = "docker stop -t 10 $container_name 2>/dev/null || true";
$this->commands[] = "docker stop --time=10 $container_name 2>/dev/null || true";
$this->commands[] = "docker rm -f $container_name 2>/dev/null || true";
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml up -d";
if ($this->database->enable_ssl) {