Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
|
@@ -2,13 +2,15 @@
|
|
| 2 |
FROM qdrant/qdrant:latest
|
| 3 |
|
| 4 |
# Hugging Face Spaces expects the app to run on port 7860
|
| 5 |
-
# We configure Qdrant to listen on 7860 instead of 6333
|
| 6 |
ENV QDRANT__SERVICE__HTTP_PORT=7860
|
| 7 |
|
| 8 |
-
# SECURITY: Set your API Key here
|
| 9 |
ENV QDRANT__SERVICE__API_KEY="xvector_secret_pass_123"
|
| 10 |
|
| 11 |
-
#
|
|
|
|
|
|
|
|
|
|
| 12 |
EXPOSE 7860
|
| 13 |
|
| 14 |
# Run Qdrant
|
|
|
|
| 2 |
FROM qdrant/qdrant:latest
|
| 3 |
|
| 4 |
# Hugging Face Spaces expects the app to run on port 7860
|
|
|
|
| 5 |
ENV QDRANT__SERVICE__HTTP_PORT=7860
|
| 6 |
|
| 7 |
+
# SECURITY: Set your API Key here
|
| 8 |
ENV QDRANT__SERVICE__API_KEY="xvector_secret_pass_123"
|
| 9 |
|
| 10 |
+
# CRITICAL FIX: Enable Distributed Mode (Cluster of 1) to unlock Sharding APIs
|
| 11 |
+
ENV QDRANT__CLUSTER__ENABLED="true"
|
| 12 |
+
|
| 13 |
+
# Expose the port
|
| 14 |
EXPOSE 7860
|
| 15 |
|
| 16 |
# Run Qdrant
|