diff --git a/scripts/restart.sh b/scripts/restart.sh new file mode 100644 index 0000000..8dd59d3 --- /dev/null +++ b/scripts/restart.sh @@ -0,0 +1,6 @@ +#!/bin/sh +set -eu +cd "$(dirname "$0")/.." + +docker compose down --remove-orphans +docker compose up -d \ No newline at end of file diff --git a/scripts/stop-one.sh b/scripts/stop-one.sh new file mode 100644 index 0000000..c8f63c4 --- /dev/null +++ b/scripts/stop-one.sh @@ -0,0 +1,4 @@ +#!/bin/sh +set -eu +: "${TARGET_INSTANCE_ID:?test provides target API instance alias}" +exec docker stop "$TARGET_INSTANCE_ID" >/dev/null \ No newline at end of file