Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
luiztauffer committed Oct 12, 2023
1 parent dbeb590 commit ab81911
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:
ports:
- "8000:8000"
environment:
QDRANT_HOST: qdrant
QDRANT_HOST: http://qdrant
QDRANT_PORT: 6333
QDRANT_COLLECTION_NAME: ${QDRANT_COLLECTION_NAME}
QDRANT_VECTOR_SIZE: ${QDRANT_VECTOR_SIZE}
Expand Down
2 changes: 1 addition & 1 deletion rest/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Settings(BaseSettings):
VERSION: str = "0.1.0"
APP_TITLE: str = "Dandiset Search"

QDRANT_HOST: str = os.environ.get('QDRANT_HOST', "http://localhost")
QDRANT_HOST: str = os.environ.get('QDRANT_HOST', "http://qdrant")
QDRANT_PORT: int = safe_int(os.environ.get('QDRANT_PORT'), 6333)
QDRANT_COLLECTION_NAME: str = os.environ.get('QDRANT_COLLECTION_NAME', "dandi_collection")
QDRANT_VECTOR_SIZE: int = safe_int(os.environ.get('QDRANT_VECTOR_SIZE'), 1536)
Expand Down
3 changes: 2 additions & 1 deletion rest/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ langchain==0.0.218 # TODO - update this
# langchain==0.0.300
dandi==0.56.2
dandischema==0.8.4
gunicorn
gunicorn
urllib3==1.26.17

0 comments on commit ab81911

Please sign in to comment.