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