From 8e5ba0b73a577c25ab1ea29d1af038858032414a Mon Sep 17 00:00:00 2001 From: Andy Bunce Date: Sat, 14 Feb 2026 21:57:08 +0000 Subject: [PATCH] [add] ollama --- ollama/compose.yml | 17 +++++++++++++++++ {ollama => ollama2}/docker-compose.yml | 0 {ollama => ollama2}/readme.md | 0 3 files changed, 17 insertions(+) create mode 100644 ollama/compose.yml rename {ollama => ollama2}/docker-compose.yml (100%) rename {ollama => ollama2}/readme.md (100%) diff --git a/ollama/compose.yml b/ollama/compose.yml new file mode 100644 index 0000000..2d6adad --- /dev/null +++ b/ollama/compose.yml @@ -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 \ No newline at end of file diff --git a/ollama/docker-compose.yml b/ollama2/docker-compose.yml similarity index 100% rename from ollama/docker-compose.yml rename to ollama2/docker-compose.yml diff --git a/ollama/readme.md b/ollama2/readme.md similarity index 100% rename from ollama/readme.md rename to ollama2/readme.md