-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.weaviate.yml
61 lines (58 loc) · 1.89 KB
/
docker-compose.weaviate.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
version: '3.4'
services:
weaviate:
command:
- --host
- 0.0.0.0
- --port
- '9001'
- --scheme
- http
image: semitechnologies/weaviate:1.18.3
ports:
- 9001:8080
restart: on-failure:0
environment:
TRANSFORMERS_INFERENCE_API: 'http://t2v-transformers:8080'
QNA_INFERENCE_API: 'http://qna-transformers:8080'
IMAGE_INFERENCE_API: 'http://i2v-neural:8080'
NER_INFERENCE_API: 'http://ner-transformers:8080'
SUM_INFERENCE_API: 'http://sum-transformers:8080'
SPELLCHECK_INFERENCE_API: 'http://text-spellcheck:8080'
OPENAI_APIKEY: $OPENAI_API_KEY
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
DEFAULT_VECTORIZER_MODULE: 'text2vec-openai'
ENABLE_MODULES: 'text2vec-openai,qna-transformers,ner-transformers,sum-transformers,text-spellcheck,img2vec-neural,ref2vec-centroid,generative-openai'
CLUSTER_HOSTNAME: 'node1'
t2v-transformers:
container_name: t2v-transformers
image: semitechnologies/transformers-inference:sentence-transformers-multi-qa-MiniLM-L6-cos-v1
environment:
ENABLE_CUDA: '0'
qna-transformers:
image: semitechnologies/qna-transformers:distilbert-base-uncased-distilled-squad
environment:
ENABLE_CUDA: '0'
ner-transformers:
image: semitechnologies/ner-transformers:dbmdz-bert-large-cased-finetuned-conll03-english
environment:
ENABLE_CUDA: '0'
sum-transformers:
image: semitechnologies/sum-transformers:facebook-bart-large-cnn-1.0.0
environment:
ENABLE_CUDA: '0'
text-spellcheck:
image: semitechnologies/text-spellcheck-model:pyspellchecker-en
i2v-neural:
image: semitechnologies/img2vec-pytorch:resnet50
environment:
ENABLE_CUDA: '0'
networks:
default:
name: weaviate-network
putty-network:
external: true
volumes:
weaviate: