From 26ae104e950d475c72f825c6db8dec10547bceb7 Mon Sep 17 00:00:00 2001 From: ItsTarikBTW Date: Mon, 27 Jan 2025 18:30:41 +0100 Subject: [PATCH] feat(template): add Open Web UI --- public/svgs/openwebui.svg | 3 +++ templates/compose/open-webui.yaml | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 public/svgs/openwebui.svg create mode 100644 templates/compose/open-webui.yaml diff --git a/public/svgs/openwebui.svg b/public/svgs/openwebui.svg new file mode 100644 index 000000000..af01b2228 --- /dev/null +++ b/public/svgs/openwebui.svg @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/templates/compose/open-webui.yaml b/templates/compose/open-webui.yaml new file mode 100644 index 000000000..07c335c2d --- /dev/null +++ b/templates/compose/open-webui.yaml @@ -0,0 +1,24 @@ +# documentation: https://docs.openwebui.com +# slogan: User-friendly AI Interface (Supports Ollama, OpenAI API, ...) +# tags: ai,models,deployment,open-web-ui,integration +# logo: svgs/openwebui.svg +# port: 8080 + +services: + open-webui: + image: "ghcr.io/open-webui/open-webui:main" + volumes: + - "open-webui:/app/backend/data" + environment: + - SERVICE_FQDN_OPENWEBUI_8080 + healthcheck: + test: + - CMD + - curl + - "-f" + - "http://127.0.0.1:8080" + interval: 5s + timeout: 30s + retries: 10 +volumes: + open-webui: null