Files
dropshell-templates/open-webui/destroy.sh
j 0d6c64d7fd
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 15s
Add open-webui dropshell template for AI chat interface
2026-03-15 13:15:46 +13:00

12 lines
299 B
Bash
Executable File

#!/bin/bash
source "${AGENT_PATH}/common.sh"
_check_required_env_vars "CONTAINER_NAME" "DATA_VOLUME"
echo "WARNING: This will PERMANENTLY DELETE all data for ${CONTAINER_NAME}"
bash ./stop.sh
_remove_container "$CONTAINER_NAME"
_remove_volume "$DATA_VOLUME"
echo "Service and all data destroyed"