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

14
open-webui/install.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
source "${AGENT_PATH}/common.sh"
_check_required_env_vars "CONTAINER_NAME" "IMAGE_REGISTRY" "IMAGE_REPO" "IMAGE_TAG" "DATA_VOLUME"
_check_docker_installed || _die "Docker test failed"
docker pull "$IMAGE_REGISTRY/$IMAGE_REPO:$IMAGE_TAG" || _die "Failed to pull image"
docker volume create "$DATA_VOLUME" 2>/dev/null || true
bash ./stop.sh || _die "Failed to stop container"
_remove_container "$CONTAINER_NAME" || _die "Failed to remove container"
bash ./start.sh || _die "Failed to start container"
echo "Installation of ${CONTAINER_NAME} complete"