config: Update 7 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 22s

This commit is contained in:
Your Name
2025-09-01 14:16:35 +12:00
parent 11ddc264eb
commit 4c2eff0011
7 changed files with 31 additions and 76 deletions

View File

@@ -3,22 +3,9 @@
source "${AGENT_PATH}/common.sh"
_check_required_env_vars "PROJECT_NAME" "LOCAL_DATA_FOLDER"
echo "WARNING: This will remove all ${PROJECT_NAME} containers, images, and data!"
echo "Recordings will be permanently deleted."
read -p "Are you sure? (yes/no): " confirmation
if [[ "$confirmation" != "yes" ]]; then
echo "Uninstall cancelled"
exit 0
fi
cd "${LOCAL_DATA_FOLDER}/config" || _die "Failed to change to config directory"
# Stop and remove containers
docker compose down -v --rmi all || true
docker compose down || true
# Remove local data
echo "Removing local data folder: ${LOCAL_DATA_FOLDER}"
rm -rf "${LOCAL_DATA_FOLDER}"
echo "${PROJECT_NAME} has been completely uninstalled"
echo "${PROJECT_NAME} has been uninstalled"