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
@@ -208,7 +208,7 @@ class StartKeydb
if ($this->database->enable_ssl) {
$this->commands[] = "chown -R 999:999 $this->configuration_dir/ssl/server.key $this->configuration_dir/ssl/server.crt";
}
$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";
$this->commands[] = "echo 'Database started.'";