#!/usr/bin/env bash set -euo pipefail echo "WARNING: This will stop the stack and wipe Mongo, MinIO, and Redis volumes." read -rp "Type 'RESET' to continue: " ans [[ ${ans:-} == "RESET" ]] || { echo "Aborted."; exit 1; } docker compose down for vol in stellaops-mongo stellaops-minio stellaops-redis; do echo "Removing volume $vol" docker volume rm "$vol" || true done echo "Reset complete. Re-run compose with your env file to recreate volumes."