From c10ca433e48efa1d379a9108943b05d636392f2d Mon Sep 17 00:00:00 2001 From: SysVis AI Date: Sun, 28 Dec 2025 19:51:07 +0700 Subject: [PATCH] chore: configure OLLAMA_ORIGINS for CORS support --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 4bf9a3f..2573460 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,9 +7,11 @@ services: restart: always ports: - "8338:80" + # Optional if you want to have Ollama running in a container depends_on: - ollama + # Optional if you want to have Ollama running in a container ollama: image: ollama/ollama:latest container_name: ollama-service @@ -20,6 +22,7 @@ services: - ./ollama_data:/root/.ollama environment: - OLLAMA_KEEP_ALIVE=24h + - OLLAMA_ORIGINS="*" # NVIDIA GPU Support Configuration deploy: resources: