mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-07 16:00:29 -05:00
add open-webui
This commit is contained in:
parent
551ed10e69
commit
7eb4e0262e
7 changed files with 145 additions and 0 deletions
37
open-webui/templates/deployment.yaml
Normal file
37
open-webui/templates/deployment.yaml
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
namespace: open-webui
|
||||
name: open-webui
|
||||
labels:
|
||||
app: open-webui
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: open-webui
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: open-webui
|
||||
spec:
|
||||
containers:
|
||||
- name: open-webui
|
||||
image: registry.internal.durp.info/open-webui/open-webui:main
|
||||
imagePullPolicy: Always
|
||||
volumeMounts:
|
||||
- name: open-webui-pvc
|
||||
mountPath: /app/backend/data
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
env:
|
||||
- name: OLLAMA_BASE_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: open-webui-secret
|
||||
key: OLLAMA_BASE_URL
|
||||
volumes:
|
||||
- name: open-webui-pvc
|
||||
persistentVolumeClaim:
|
||||
claimName: open-webui-pvc
|
||||
Loading…
Add table
Add a link
Reference in a new issue