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:
|
||||
- name: ollama
|
||||
image: ollama/ollama
|
||||
env:
|
||||
- name: OLLAMA_HOST
|
||||
value: 0.0.0.0
|
||||
- name: OLLAMA_MODELS
|
||||
value: "/models"
|
||||
ports:
|
||||
- containerPort: 11434
|
||||
resources:
|
||||
@ -24,7 +29,7 @@ spec:
|
||||
nvidia.com/gpu: 2
|
||||
volumeMounts:
|
||||
- name: ollama-volume
|
||||
mountPath: /root/.ollama
|
||||
mountPath: "/my-models"
|
||||
volumes:
|
||||
- name: ollama-volume
|
||||
persistentVolumeClaim:
|
||||
|
Loading…
Reference in New Issue
Block a user