[add] ollama
This commit is contained in:
parent
dbdfe6d052
commit
8e5ba0b73a
3 changed files with 17 additions and 0 deletions
17
ollama/compose.yml
Normal file
17
ollama/compose.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
# named volume 'ollama' is marked as "external" (used by service 'ollama'), so either remove "external" from volume definition or it needs to be created using: docker volume create ollama
|
||||||
|
name: ollama
|
||||||
|
services:
|
||||||
|
ollama:
|
||||||
|
devices:
|
||||||
|
- /dev/kfd
|
||||||
|
- /dev/dri
|
||||||
|
volumes:
|
||||||
|
- ollama:/root/.ollama
|
||||||
|
ports:
|
||||||
|
- 11434:11434
|
||||||
|
container_name: ollama
|
||||||
|
image: ollama/ollama:rocm
|
||||||
|
volumes:
|
||||||
|
ollama:
|
||||||
|
external: true
|
||||||
|
name: ollama
|
||||||
Loading…
Add table
Reference in a new issue