-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
76 lines (68 loc) · 2 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: "3"
services:
postgres:
image: postgres:17-alpine
restart: always
ports:
- "5432:5432"
environment:
POSTGRES_USER: ${POSTGRES_USER:-default}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-default}
redis:
image: redis:8.0-M02-alpine
ports:
- "6379:6379"
minio:
image: quay.io/minio/minio
command: server /data --console-address ":9001"
ports:
- 9000:9000
- 9001:9001
volumes:
- ./data/minio:/data
swaggerui:
image: swaggerapi/swagger-ui
ports:
- 8001:8080
environment:
SWAGGER_JSON_URL: "http://localhost:8000/api/openapi.json"
WITH_CREDENTIALS: "true"
weaviate:
image: cr.weaviate.io/semitechnologies/weaviate:1.27.4
restart: on-failure:0
command:
- --host
- 0.0.0.0
- --port
- "8080"
- --scheme
- http
ports:
- 8080:8080
- 50051:50051
volumes:
- ./data/weaviate:/var/lib/weaviate
environment:
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: "true"
PERSISTENCE_DATA_PATH: "/var/lib/weaviate"
DEFAULT_VECTORIZER_MODULE: "text2vec-openai"
# ENABLE_MODULES: 'text2vec-cohere,text2vec-huggingface,text2vec-palm,text2vec-openai,generative-openai,generative-cohere,generative-palm,ref2vec-centroid,reranker-cohere,qna-openai'
# ENABLE_MODULES: "text2vec-transformers,sum-transformers"
ENABLE_MODULES: "text2vec-openai,generative-openai"
CLUSTER_HOSTNAME: "node1"
TRANSFORMERS_INFERENCE_API: http://t2v-transformers:8080
SUM_INFERENCE_API: http://sum-transformers:8080
t2v-transformers:
image: semitechnologies/transformers-inference:sentence-transformers-multi-qa-MiniLM-L6-cos-v1
environment:
ENABLE_CUDA: 0
sum-transformers:
image: cr.weaviate.io/semitechnologies/sum-transformers:facebook-bart-large-cnn-1.2.0
environment:
ENABLE_CUDA: 0
rabbit:
image: rabbitmq:4-management
ports:
- "5672:5672"
- "15672:15672"