teardown.sh 12 lignes · 277 octets
#!/usr/bin/env bash
# Stop the testbed and purge all volumes so the next setup starts from a
# clean slate.

set -euo pipefail

cd "$(dirname "$0")/.."

echo "==> docker compose down -v"
docker compose down -v --remove-orphans

echo "==> Done. No containers, no volumes left."