Add open-webui dropshell template for AI chat interface
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 15s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 15s
This commit is contained in:
12
open-webui/start.sh
Executable file
12
open-webui/start.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
source "${AGENT_PATH}/common.sh"
|
||||
_check_required_env_vars "CONTAINER_NAME" "IMAGE_REGISTRY" "IMAGE_REPO" "IMAGE_TAG" "DATA_VOLUME" "HOST_PORT" "OLLAMA_BASE_URL"
|
||||
|
||||
docker run -d \
|
||||
--name "$CONTAINER_NAME" \
|
||||
--restart unless-stopped \
|
||||
-p "${HOST_PORT}:8080" \
|
||||
-e "OLLAMA_BASE_URL=${OLLAMA_BASE_URL}" \
|
||||
${WEBUI_AUTH:+-e "WEBUI_AUTH=${WEBUI_AUTH}"} \
|
||||
-v "${DATA_VOLUME}:/app/backend/data" \
|
||||
"$IMAGE_REGISTRY/$IMAGE_REPO:$IMAGE_TAG"
|
||||
Reference in New Issue
Block a user