Add openclaw dropshell template for personal AI assistant
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 14s

This commit is contained in:
j
2026-03-11 20:48:14 +13:00
parent 932fe45303
commit 23ec097b39
16 changed files with 555 additions and 0 deletions

17
openclaw/uninstall.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
source "${AGENT_PATH}/common.sh"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
_check_required_env_vars "CONTAINER_NAME"
# Export variables for docker compose
export CONTAINER_NAME DATA_PATH GATEWAY_PORT
export IMAGE_REGISTRY IMAGE_REPO IMAGE_TAG
export ANTHROPIC_API_KEY OPENROUTER_API_KEY
cd "$SCRIPT_DIR" || _die "Failed to change to script directory"
# Stop and remove containers (but preserve data)
docker compose -p "${CONTAINER_NAME}" down || _die "Failed to stop containers"
echo "Uninstalled ${CONTAINER_NAME} (data preserved in ${DATA_PATH})"
echo "Note: Your gateway token and configuration are still in ${DATA_PATH}"