From 3900f7a1fcdc593d470988bdb2bbc85a71a9b3e0 Mon Sep 17 00:00:00 2001 From: thomas Date: Sun, 11 May 2025 17:25:21 +0000 Subject: [PATCH] =?UTF-8?q?ollama-docker-compose.yml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ollama-docker-compose.yml | 14 ++++++++++++++ 1 file changed, 14 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..13a55e7 --- /dev/null +++ b/ollama-docker-compose.yml @@ -0,0 +1,14 @@ +services: + ollama: + image: ${OLLAMA_IMAGE:-ollama/ollama:latest} + container_name: ${OLLAMA_NAME} + ports: + - "${OLLAMA_PORT}:11434" + volumes: + - ${OLLAMA_VOLUME}:/root/.ollama + restart: always + + +volumes: + ollama: + external: true \ No newline at end of file