Add ollama-with-models
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7f3bb2c1f3
commit
a96c730b93
@ -17,6 +17,11 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: ollama
|
- name: ollama
|
||||||
image: ollama/ollama
|
image: ollama/ollama
|
||||||
|
env:
|
||||||
|
- name: OLLAMA_HOST
|
||||||
|
value: 0.0.0.0
|
||||||
|
- name: OLLAMA_MODELS
|
||||||
|
value: "/models"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 11434
|
- containerPort: 11434
|
||||||
resources:
|
resources:
|
||||||
@ -24,7 +29,7 @@ spec:
|
|||||||
nvidia.com/gpu: 2
|
nvidia.com/gpu: 2
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: ollama-volume
|
- name: ollama-volume
|
||||||
mountPath: /root/.ollama
|
mountPath: "/my-models"
|
||||||
volumes:
|
volumes:
|
||||||
- name: ollama-volume
|
- name: ollama-volume
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
Loading…
Reference in New Issue
Block a user