Spaces:
Build error
Build error
dinhquangson
commited on
Commit
•
3a4be80
1
Parent(s):
b0f128e
Create docker-compose.yml
Browse files- docker-compose.yml +27 -0
docker-compose.yml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
version: '3.4'
|
3 |
+
services:
|
4 |
+
weaviate:
|
5 |
+
command:
|
6 |
+
- --host
|
7 |
+
- 0.0.0.0
|
8 |
+
- --port
|
9 |
+
- '8080'
|
10 |
+
- --scheme
|
11 |
+
- http
|
12 |
+
image: cr.weaviate.io/semitechnologies/weaviate:1.25.4
|
13 |
+
ports:
|
14 |
+
- 8080:8080
|
15 |
+
- 50051:50051
|
16 |
+
volumes:
|
17 |
+
- weaviate_data:/var/lib/weaviate
|
18 |
+
restart: on-failure:0
|
19 |
+
environment:
|
20 |
+
QUERY_DEFAULTS_LIMIT: 25
|
21 |
+
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
|
22 |
+
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
|
23 |
+
DEFAULT_VECTORIZER_MODULE: 'none'
|
24 |
+
ENABLE_MODULES: 'text2vec-cohere,text2vec-huggingface,text2vec-palm,text2vec-openai,generative-openai,generative-cohere,generative-palm,ref2vec-centroid,reranker-cohere,qna-openai'
|
25 |
+
CLUSTER_HOSTNAME: 'node1'
|
26 |
+
volumes:
|
27 |
+
weaviate_data:
|