khuedoan-homelab/apps/ollama/values.yaml

63 lines
1.3 KiB
YAML
Raw Normal View History

2024-03-27 00:45:05 +07:00
app-template:
controllers:
main:
containers:
main:
image:
repository: docker.io/ollama/ollama
tag: 0.1.29
2024-03-27 22:40:29 +07:00
ui:
containers:
main:
image:
repository: ghcr.io/open-webui/open-webui
tag: latest
env:
OLLAMA_BASE_URL: http://ollama:11434
2024-03-27 00:45:05 +07:00
service:
main:
ports:
http:
port: 11434
protocol: HTTP
2024-03-27 22:40:29 +07:00
ui:
controller: ui
ports:
http:
port: 8080
protocol: HTTP
2024-03-27 00:45:05 +07:00
ingress:
main:
enabled: true
className: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
2024-03-27 22:40:29 +07:00
- host: &ollamaHost ollama.khuedoan.com
2024-03-27 00:45:05 +07:00
paths:
- path: /
pathType: Prefix
service:
name: main
port: http
2024-03-27 22:40:29 +07:00
- host: &uiHost ai.khuedoan.com
paths:
- path: /
pathType: Prefix
service:
name: ui
port: http
2024-03-27 00:45:05 +07:00
tls:
- hosts:
2024-03-27 22:40:29 +07:00
- *ollamaHost
- *uiHost
2024-03-27 00:45:05 +07:00
secretName: ollama-tls-certificate
persistence:
data:
accessMode: ReadWriteOnce
size: 10Gi
advancedMounts:
main:
main:
- path: /root/.ollama