From d966e1e84fe49cc16a9a01060b0c8a130dd974a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ellensohn?= Date: Wed, 13 Sep 2023 10:58:32 +0200 Subject: [PATCH] update --- stack_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stack_manager.py b/stack_manager.py index 0901713..04a939e 100644 --- a/stack_manager.py +++ b/stack_manager.py @@ -10,12 +10,12 @@ stack3 = stack1 + ["amcl", "navigation"] # Function to start a stack def start_stack(stack): print(f"Starting {', '.join(stack)}...") - subprocess.run(["docker-compose", "up", "-d"] + stack) + subprocess.run(["docker", "compose", "up", "-d"] + stack) # Function to stop a stack def stop_stack(stack): print(f"Stopping {', '.join(stack)}...") - subprocess.run(["docker-compose", "down", "-v", "--remove-orphans"] + stack) + subprocess.run(["docker", "compose", "down", "-v", "--remove-orphans"] + stack) # Main program if __name__ == "__main__":