justmotes commited on
Commit
9464611
·
verified ·
1 Parent(s): edff491

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 (Change 'my_secret_key' to something hard!)
9
  ENV QDRANT__SERVICE__API_KEY="xvector_secret_pass_123"
10
 
11
- # Expose the port (Hugging Face needs this)
 
 
 
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