Add test run and cleanup scripts

This commit is contained in:
Zhi
2026-03-14 07:24:16 +00:00
parent d503dc178c
commit 9e9ccbb704
2 changed files with 46 additions and 0 deletions

20
cleanup.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/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
echo "✅ Cleanup complete!"
echo ""
echo "To also remove volumes (completely clean slate):"
echo " docker compose -f $COMPOSE_FILE down -v"
echo ""
echo "To remove images (free disk space):"
echo " docker compose -f $COMPOSE_FILE down --rmi local"