From a31988e1c7fcf8190eaceefab424ef616b2fc2c1 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Wed, 27 Mar 2024 22:40:29 +0700 Subject: [PATCH] feat(ollama): add web UI --- apps/ollama/values.yaml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/apps/ollama/values.yaml b/apps/ollama/values.yaml index 3dfee308..96f51047 100644 --- a/apps/ollama/values.yaml +++ b/apps/ollama/values.yaml @@ -6,12 +6,26 @@ app-template: image: repository: docker.io/ollama/ollama tag: 0.1.29 + ui: + containers: + main: + image: + repository: ghcr.io/open-webui/open-webui + tag: latest + env: + OLLAMA_BASE_URL: http://ollama:11434 service: main: ports: http: port: 11434 protocol: HTTP + ui: + controller: ui + ports: + http: + port: 8080 + protocol: HTTP ingress: main: enabled: true @@ -19,14 +33,22 @@ app-template: annotations: cert-manager.io/cluster-issuer: letsencrypt-prod hosts: - - host: &host ollama.khuedoan.com + - host: &ollamaHost ollama.khuedoan.com paths: - path: / pathType: Prefix service: name: main port: http + - host: &uiHost ai.khuedoan.com + paths: + - path: / + pathType: Prefix + service: + name: ui + port: http tls: - hosts: - - *host + - *ollamaHost + - *uiHost secretName: ollama-tls-certificate