mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-09 16:09:10 +00:00
16 lines
588 B
Bash
Executable file
16 lines
588 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Tear down the compose project and remove all volumes (including data).
|
|
# ---------------------------------------------------------------------------
|
|
|
|
echo "WARNING: This will stop all containers and delete all volumes (including persistent data)."
|
|
read -rp "Are you sure you want to continue? [y/N]: " answer
|
|
|
|
if [[ "${answer,,}" =~ ^y(es)?$ ]]; then
|
|
docker compose down -v
|
|
echo "All containers and volumes have been removed."
|
|
else
|
|
echo "Operation cancelled."
|
|
fi
|