mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 21:42:58 +00:00
14 lines
356 B
Bash
Executable File
14 lines
356 B
Bash
Executable File
#!/bin/bash
|
|
echo "Warning: This will remove all containers and volumes, including persistent data. Do you want to continue? [Y/N]"
|
|
read ans
|
|
if [ "$ans" == "Y" ] || [ "$ans" == "y" ]; then
|
|
command docker-compose 2>/dev/null
|
|
if [ "$?" == "0" ]; then
|
|
docker-compose down -v
|
|
else
|
|
docker compose down -v
|
|
fi
|
|
else
|
|
echo "Operation cancelled."
|
|
fi
|