adding docker compose file for ollama server
This commit is contained in:
parent
0a1b5ddccc
commit
e96f7a09c0
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
tmux/.config/tmux/plugins
|
tmux/.config/tmux/plugins
|
||||||
|
container_data
|
||||||
|
12
ollama/.config/ollama_container/compose.yaml
Normal file
12
ollama/.config/ollama_container/compose.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
services:
|
||||||
|
llama_server:
|
||||||
|
image: ollama/ollama:rocm
|
||||||
|
container_name: llama_server
|
||||||
|
ports:
|
||||||
|
- "11434:11434"
|
||||||
|
volumes:
|
||||||
|
- ./container_data:/root/.ollama
|
||||||
|
devices:
|
||||||
|
- /dev/kfd
|
||||||
|
- /dev/dri
|
||||||
|
|
Loading…
Reference in New Issue
Block a user