Update folder location
This commit is contained in:
37
master/open-webui/templates/deployment.yaml
Normal file
37
master/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
|
||||
Reference in New Issue
Block a user