From 426d121b70a907fcc7e28155e89a66b2f22bec9d Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Thu, 22 Dec 2022 13:30:39 +0200 Subject: [PATCH] Assume running dev-launch with docker access --- sdbapi/dev-launch.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sdbapi/dev-launch.sh b/sdbapi/dev-launch.sh index e09ad09..f8ca31f 100755 --- a/sdbapi/dev-launch.sh +++ b/sdbapi/dev-launch.sh @@ -15,9 +15,9 @@ function confirm() { return 1 } -confirm reset containers? && sudo docker compose down -confirm reset database? && sudo docker volume rm sdbapi_apidb_data +confirm reset containers? && docker compose down +confirm reset database? && docker volume rm sdbapi_apidb_data -confirm rebuild api? && sudo docker compose build +confirm rebuild api? && docker compose build -confirm launch? && sudo docker compose up +confirm launch? && docker compose up -- 2.44.1