From 3d59c78eb93fa1cc8de3d4bc19763296e674d296 Mon Sep 17 00:00:00 2001 From: salah Date: Fri, 27 Feb 2026 00:02:31 +0100 Subject: [PATCH] fix: Update Qdrant configuration in settings and deployment files for correct host, port, and collection --- app/config.py | 6 +++--- k8s/deployment.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/config.py b/app/config.py index 124623b..125a811 100644 --- a/app/config.py +++ b/app/config.py @@ -22,9 +22,9 @@ class Settings(BaseSettings): neo4j_password: str = "NEO4J-PASS" # Qdrant - qdrant_host: str = "vector.betelgeusebytes.io" - qdrant_port: int = 433 - qdrant_collection: str = "hadiths" + qdrant_host: str = "qdrant.db.svc.cluster.local" + qdrant_port: int = 80 + qdrant_collection: str = "hadith_embeddings" # Elasticsearch es_host: str = "http://elasticsearch.elastic.svc.cluster.local:9200" diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index ca7194c..119ddbf 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -69,11 +69,11 @@ spec: name: hadith-api-secrets key: NEO4J_PASSWORD - name: HADITH_QDRANT_HOST - value: "vector.betelgeusebytes.io" + value: "qdrant.db.svc.cluster.local" - name: HADITH_QDRANT_PORT - value: "433" + value: "80" - name: HADITH_QDRANT_COLLECTION - value: "hadiths" + value: "hadith_embeddings" - name: HADITH_ES_HOST value: "http://elasticsearch.elastic.svc.cluster.local:9200" - name: HADITH_ES_INDEX