betterNAS/scripts/dev-down
2026-04-01 04:32:08 +00:00

14 lines
257 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
# shellcheck disable=SC1091
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/lib/runtime-env.sh"
args=(down --remove-orphans)
if [[ "${1:-}" == "--volumes" ]]; then
args+=(--volumes)
fi
compose "${args[@]}"