feat(server): add bind address

This commit is contained in:
ItzCrazyKns 2024-05-12 12:15:25 +05:30
parent 828eeb0c77
commit 9816eb1d36
No known key found for this signature in database
GPG key ID: 8162927C7CCE3065
3 changed files with 9 additions and 4 deletions

View file

@ -1,5 +1,6 @@
[GENERAL]
PORT = 3001 # Port to run the server on
PORT = 31338 # Port to run the server on
BIND_ADDRESS = "0.0.0.0"
SIMILARITY_MEASURE = "cosine" # "cosine" or "dot"
[API_KEYS]
@ -8,4 +9,4 @@ GROQ = "" # Groq API key - gsk_1234567890abcdef1234567890abcdef
[API_ENDPOINTS]
SEARXNG = "http://localhost:32768" # SearxNG API URL
OLLAMA = "" # Ollama API URL - http://host.docker.internal:11434
OLLAMA = "" # Ollama API URL - http://127.0.0.1:11434