Add gpu to ollama, and fix gui websocket issue

This commit is contained in:
2026-01-20 00:12:07 -06:00
parent 437de6be67
commit ea65ae941b
2 changed files with 17 additions and 2 deletions

View File

@@ -53,11 +53,14 @@ services:
networks:
- karakeep-int
ollama:
image: docker.io/ollama/ollama:0.11.10
image: docker.io/ollama/ollama:rocm
volumes:
- .:/code
- /data/library/ollama/ollama:/root/.ollama
pull_policy: always
devices:
- /dev/dri:/dev/dri
- /dev/kfd:/dev/kfd
# pull_policy: always
tty: true
restart: always
environment: