diff --git a/scripts/restart.cmd b/scripts/restart.cmd new file mode 100644 index 00000000..c40b8800 --- /dev/null +++ b/scripts/restart.cmd @@ -0,0 +1,6 @@ +#!/bin/bash +set -e +docker compose restart postgres +docker compose restart redis +docker compose restart api +docker compose restart nginx \ No newline at end of file diff --git a/scripts/stop-one.cmd b/scripts/stop-one.cmd new file mode 100644 index 00000000..e28aaa60 --- /dev/null +++ b/scripts/stop-one.cmd @@ -0,0 +1,6 @@ +@echo off +if "%TARGET_INSTANCE_ID%"=="" ( + echo TARGET_INSTANCE_ID is not set + exit /b 1 +) +docker stop %TARGET_INSTANCE_ID% \ No newline at end of file