feat(scripts): add restart and stop-one hooks
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
docker compose down --remove-orphans
|
||||
docker compose up -d
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user