From fb94941541a23b250ffd76b9bf22c8193f051c30 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 30 Oct 2023 13:12:33 -0700 Subject: [PATCH] Update compose.yaml --- compose.yaml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/compose.yaml b/compose.yaml index 94601958..c502d063 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,20 +2,21 @@ version: '3.6' services: ollama: - deploy: - resources: - reservations: - devices: - - driver: nvidia - count: 1 - capabilities: - - gpu + # Comment below for GPU support + # deploy: + # resources: + # reservations: + # devices: + # - driver: nvidia + # count: 1 + # capabilities: + # - gpu volumes: - ollama:/root/.ollama ports: - 11434:11434 environment: - - OLLAMA_ORIGINS="*" + - 'OLLAMA_ORIGINS=*' container_name: ollama pull_policy: always tty: true