Add open-webui dropshell template for AI chat interface
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 15s

This commit is contained in:
j
2026-03-15 13:15:46 +13:00
parent 1a6f71dbdc
commit 0d6c64d7fd
12 changed files with 138 additions and 0 deletions

12
open-webui/backup.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
source "${AGENT_PATH}/common.sh"
_check_required_env_vars "CONTAINER_NAME" "DATA_VOLUME" "BACKUP_FILE" "TEMP_DIR"
mkdir -p "${TEMP_DIR}/backup"
docker run --rm -v "${DATA_VOLUME}":/source -v "${TEMP_DIR}/backup":/backup \
debian tar -czf /backup/data.tgz -C /source .
tar -czf "${BACKUP_FILE}" -C "${TEMP_DIR}/backup" .
echo "Backup completed successfully"