From 381492b282f395ca137926afa036bfbac69312c5 Mon Sep 17 00:00:00 2001 From: Shang Chieh Tseng Date: Mon, 7 Apr 2025 10:39:49 +0800 Subject: [PATCH] This is for cpu only. Use as compare to gpu. --- ollama/docker-compose.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ollama/docker-compose.yml diff --git a/ollama/docker-compose.yml b/ollama/docker-compose.yml new file mode 100644 index 0000000..e4f6e22 --- /dev/null +++ b/ollama/docker-compose.yml @@ -0,0 +1,15 @@ +version: '3.8' + +services: + ollama: + image: ollama/ollama + container_name: ollama + ports: + - "11434:11434" + volumes: + - ollama:/root/.ollama + restart: unless-stopped + +volumes: + ollama: +