adding docker compose file for ollama server

This commit is contained in:
Daniel Weber 2025-01-05 20:07:20 -05:00
parent 0a1b5ddccc
commit e96f7a09c0
2 changed files with 13 additions and 0 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
tmux/.config/tmux/plugins
container_data

View 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