Add environment variables for ClickHouse and Qdrant
Some checks failed
release / docker (push) Failing after 42s

This commit is contained in:
estromenko 2025-11-01 18:01:56 +03:00
parent 6b9267af02
commit 384df2c78b

View File

@ -165,6 +165,6 @@ LOGGING = {
},
}
CLICKHOUSE_CLIENT = clickhouse_connect.create_client(host="127.0.0.1", port=18123)
CLICKHOUSE_CLIENT = clickhouse_connect.create_client(host=os.getenv("CLICKHOUSE_HOST", "127.0.0.1"), port=int(os.getenv("CLICKHOUSE_PORT", "18123")))
QDARNT_CLIENT = QdrantClient(url="http://localhost:6333")
QDARNT_CLIENT = QdrantClient(url=os.getenv("QDRANT_URL", "http://localhost:6333"))