mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-19 08:48:05 +07:00
33 lines
690 B
YAML
33 lines
690 B
YAML
|
app-template:
|
||
|
controllers:
|
||
|
main:
|
||
|
containers:
|
||
|
main:
|
||
|
image:
|
||
|
repository: docker.io/ollama/ollama
|
||
|
tag: 0.1.29
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
http:
|
||
|
port: 11434
|
||
|
protocol: HTTP
|
||
|
ingress:
|
||
|
main:
|
||
|
enabled: true
|
||
|
className: nginx
|
||
|
annotations:
|
||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||
|
hosts:
|
||
|
- host: &host ollama.khuedoan.com
|
||
|
paths:
|
||
|
- path: /
|
||
|
pathType: Prefix
|
||
|
service:
|
||
|
name: main
|
||
|
port: http
|
||
|
tls:
|
||
|
- hosts:
|
||
|
- *host
|
||
|
secretName: ollama-tls-certificate
|