Added support for host.docker.internal (ie: to use local chromadb ser… ()

Added support for host.docker.internal (ie: to use local chromadb server)
This commit is contained in:
Jean-Francois Laflamme 2023-08-17 07:01:50 +07:00 committed by GitHub
parent a62e891fa0
commit 882b362213
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -21,7 +21,7 @@ OPEN_MODEL_PREF='gpt-3.5-turbo'
###########################################
# Enable all below if you are using vector database: Chroma.
# VECTOR_DB="chroma"
# CHROMA_ENDPOINT='http://localhost:8000'
# CHROMA_ENDPOINT='http://host.docker.internal:8000'
# Enable all below if you are using vector database: Pinecone.
VECTOR_DB="pinecone"
@ -48,4 +48,4 @@ PINECONE_INDEX=
STORAGE_DIR="./server/storage"
GOOGLE_APIS_KEY=
UID='1000'
GID='1000'
GID='1000'

View file

@ -26,3 +26,5 @@ services:
- .env
networks:
- anything-llm
extra_hosts:
- "host.docker.internal:host-gateway"