Spaces:
Build error
Build error
Create Dockerfile
Browse files- Dockerfile +21 -0
Dockerfile
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
services:
|
| 2 |
+
index1:
|
| 3 |
+
image: ghcr.io/pinecone-io/pinecone-index:latest
|
| 4 |
+
environment:
|
| 5 |
+
PORT: 5080
|
| 6 |
+
INDEX_TYPE: serverless
|
| 7 |
+
DIMENSION: 2
|
| 8 |
+
METRIC: cosine
|
| 9 |
+
ports:
|
| 10 |
+
- "5081:5081"
|
| 11 |
+
platform: linux/amd64
|
| 12 |
+
index2:
|
| 13 |
+
image: ghcr.io/pinecone-io/pinecone-index:latest
|
| 14 |
+
environment:
|
| 15 |
+
PORT: 5081
|
| 16 |
+
INDEX_TYPE: pod
|
| 17 |
+
DIMENSION: 2
|
| 18 |
+
METRIC: dotproduct
|
| 19 |
+
ports:
|
| 20 |
+
- "5082:5082"
|
| 21 |
+
platform: linux/amd64
|