[object Object]

← back to Exo

script ot start openwebui

ebff636a2536cdcc5848cf0ee389f36fb3e6ebd5 · 2024-08-26 17:33:23 +0100 · Alex Cheema

Files touched

Diff

commit ebff636a2536cdcc5848cf0ee389f36fb3e6ebd5
Author: Alex Cheema <alexcheema123@gmail.com>
Date:   Mon Aug 26 17:33:23 2024 +0100

    script ot start openwebui
---
 extra/start_openwebui.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/extra/start_openwebui.sh b/extra/start_openwebui.sh
new file mode 100755
index 00000000..a5f3ca4d
--- /dev/null
+++ b/extra/start_openwebui.sh
@@ -0,0 +1,3 @@
+API_ENDPOINT="http://${API_ENDPOINT:-$(ifconfig | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}' | head -n 1):8000}"
+echo "Using API_ENDPOINT=${API_ENDPOINT}"
+docker run -d -p 3000:8080 -e OPENAI_API_BASE_URL="${API_ENDPOINT}" -e OPENAI_API_KEY=your_secret_key -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main

← 39493571 add all chat endpoints without v1 prefix to support ollama /  ·  back to Exo  ·  add RTX 20 series to device capabilities 62e37262 →