Files
HarborForge.Test/cleanup.sh
2026-03-14 07:27:21 +00:00

21 lines
561 B
Bash
Executable File

#!/bin/bash
# Cleanup script for HarborForge Test
# Removes containers and networks, but keeps images
set -e
COMPOSE_FILE="docker-compose-frontend.yml"
echo "🧹 Cleaning up HarborForge Test containers..."
# Stop and remove containers, networks (keep images and volumes)
docker compose -f "$COMPOSE_FILE" down
# Also remove the wizard config volume
docker volume rm harborforgetest_wizard_config 2>/dev/null || true
echo "✅ Cleanup complete!"
echo ""
echo "To remove images (free disk space):"
echo " docker compose -f $COMPOSE_FILE down --rmi local"