41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
|
|
image:
|
|||
|
|
repository: ghcr.io/open-webui/open-webui
|
|||
|
|
tag: "main"
|
|||
|
|
pullPolicy: IfNotPresent
|
|||
|
|
|
|||
|
|
service:
|
|||
|
|
type: NodePort # or ClusterIP if you’ll use ingress below
|
|||
|
|
nodePort: 4000
|
|||
|
|
|
|||
|
|
persistence:
|
|||
|
|
enabled: true
|
|||
|
|
size: 5Gi
|
|||
|
|
|
|||
|
|
ingress:
|
|||
|
|
enabled: false # set true fo http://openwebui.local via nginx
|
|||
|
|
className: nginx
|
|||
|
|
hosts:
|
|||
|
|
- host: openwebui.local
|
|||
|
|
paths:
|
|||
|
|
- path: /
|
|||
|
|
pathType: Prefix
|
|||
|
|
tls: [] # no https bc I lazy
|
|||
|
|
|
|||
|
|
# NO SECRETS!!!
|
|||
|
|
extraEnvVars:
|
|||
|
|
- name: OLLAMA_BASE_URL
|
|||
|
|
value: "https://mlep.ion606.com"
|
|||
|
|
# use postgres as primary db
|
|||
|
|
- name: DATABASE_URL
|
|||
|
|
value: "postgresql://postgres:mypassword@postgresql-primary.ai.svc.cluster.local:5432/openwebui"
|
|||
|
|
# store vectors in pgvector (on the same postgres)
|
|||
|
|
- name: VECTOR_DB
|
|||
|
|
value: "pgvector"
|
|||
|
|
- name: PGVECTOR_DB_URL
|
|||
|
|
value: "postgresql://postgres:mypassword@postgresql-primary.ai.svc.cluster.local:5432/openwebui"
|
|||
|
|
- name: PGVECTOR_CREATE_EXTENSION
|
|||
|
|
value: "true"
|
|||
|
|
# set canonical url for oauth/web search callbacks, etc.
|
|||
|
|
- name: WEBUI_URL
|
|||
|
|
value: "http://openwebui.local"
|