8 lines
154 B
Bash
Executable File
8 lines
154 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
case "${TARGET_INSTANCE_ID:-}" in
|
|
api1|api2) docker compose stop "$TARGET_INSTANCE_ID" ;;
|
|
*) exit 2 ;;
|
|
esac
|