xref: /plugin/bpmnio/test/cleanup-test-env.sh (revision 033061be24b61e2ca1dcf4d5ade55358f0bb0818)
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