xref: /plugin/bpmnio/test/cleanup-test-env.sh (revision 43854469855b0d3261173416b47cbad6e62bc444)
1#!/bin/bash
2# Clean up the DokuWiki test environment
3set -e
4cd "$(dirname "$0")"
5
6if [ "$1" = "--full" ]; then
7    echo "Removing containers, volumes, and images..."
8    docker compose down -v --rmi all
9else
10    echo "Stopping containers..."
11    docker compose down
12    echo "Use '--full' to also remove volumes and images"
13fi
14