diff --git a/config.toml b/config.toml new file mode 100644 index 00000000..1a80e135 --- /dev/null +++ b/config.toml @@ -0,0 +1,12 @@ +[GENERAL] +PORT = 3001 # Port to run the server on +SIMILARITY_MEASURE = "cosine" # "cosine" or "dot" + +[API_KEYS] +OPENAI = "" # OpenAI API key - sk-1234567890abcdef1234567890abcdef +GROQ = "" # Groq API key - gsk_1234567890abcdef1234567890abcdef +ANTHROPIC = "" # Anthropic API key - sk-ant-1234567890abcdef1234567890abcdef + +[API_ENDPOINTS] +SEARXNG = "http://SearxNG:8080" # SearxNG API URL +OLLAMA = "http://host.docker.internal:11434" \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index d6f9203d..36723728 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 f6c69436..5d01e31c 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