From 521df60f8646ab56e1deabcef7ae96e70bfcdd71 Mon Sep 17 00:00:00 2001 From: chris depalma Date: Tue, 30 Jul 2024 11:37:31 -0400 Subject: [PATCH] Add local ollama URL to config.toml file --- config.toml | 2 +- docker-compose.yaml | 2 +- sample.config.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.toml b/config.toml index 5d01e31..1a80e13 100644 --- a/config.toml +++ b/config.toml @@ -9,4 +9,4 @@ ANTHROPIC = "" # Anthropic API key - sk-ant-1234567890abcdef1234567890abcdef [API_ENDPOINTS] SEARXNG = "http://SearxNG:8080" # SearxNG API URL -OLLAMA = "" # Ollama API URL - http://host.docker.internal:11434 \ No newline at end of file +OLLAMA = "http://host.docker.internal:11434" \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index d6f9203..3672372 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -37,7 +37,7 @@ services: depends_on: - perplexica-backend ports: - - 3000:3000 + - 3010:3000 networks: - perplexica-network restart: unless-stopped diff --git a/sample.config.toml b/sample.config.toml index f6c6943..5d01e31 100644 --- a/sample.config.toml +++ b/sample.config.toml @@ -8,5 +8,5 @@ GROQ = "" # Groq API key - gsk_1234567890abcdef1234567890abcdef ANTHROPIC = "" # Anthropic API key - sk-ant-1234567890abcdef1234567890abcdef [API_ENDPOINTS] -SEARXNG = "http://localhost:32768" # SearxNG API URL +SEARXNG = "http://SearxNG:8080" # SearxNG API URL OLLAMA = "" # Ollama API URL - http://host.docker.internal:11434 \ No newline at end of file