-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
151 lines (150 loc) · 4.66 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
version: '3.9'
networks:
noizu-intellect-net:
services:
redis:
container_name: noizu-intellect-redis
hostname: noizu-intellect-redis
image: "redis:alpine"
logging:
driver: "none"
ports:
- 0.0.0.0:7000:6379
networks:
- noizu-intellect-net
volumes:
- ./mnt/redis:/data
database:
container_name: noizu-intellect-ts
hostname: noizu-intellect-ts
image: "timescale/timescaledb-ha:pg15-latest"
logging:
driver: "none"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: noizu_intellect
ports:
- 0.0.0.0:7005:5432
networks:
- noizu-intellect-net
# volumes:
# - ./mnt/pg:/home/postgres/pgdata/data
manticore:
container_name: noizu-intellect-manticore
image: manticoresearch/manticore
environment:
- EXTRA=1
restart: always
ports:
- 0.0.0.0:7002:9306
- 0.0.0.0:7003:9308
ulimits:
nproc: 65535
nofile:
soft: 65535
hard: 65535
memlock:
soft: -1
hard: -1
volumes:
- ./mnt/manticore:/var/lib/manticore
# - ./manticore.conf:/etc/manticoresearch/manticore.conf # uncommment if you use a custom config
weaviate:
container_name: noizu-weaviate
command:
- --host
- 0.0.0.0
- --port
- '8080'
- --scheme
- http
image: semitechnologies/weaviate:1.20.4
networks:
- noizu-intellect-net
ports:
- 0.0.0.0:7400:8080
restart: on-failure:0
environment:
TRANSFORMERS_INFERENCE_API: 'http://noizu-weaviate-t2v:8080'
QNA_INFERENCE_API: 'http://noizu-weaviate-qna:8080'
IMAGE_INFERENCE_API: 'http://noizu-weaviate-i2v:8080'
NER_INFERENCE_API: 'http://noizu-weaviate-ner:8080'
SUM_INFERENCE_API: 'http://noizu-weaviate-sum: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-transformers'
ENABLE_MODULES: 'text2vec-transformers,qna-transformers,ner-transformers,sum-transformers,img2vec-neural,ref2vec-centroid,generative-openai'
CLUSTER_HOSTNAME: 'node1'
t2v-transformers:
container_name: noizu-weaviate-t2v
networks:
- noizu-intellect-net
image: semitechnologies/transformers-inference:sentence-transformers-multi-qa-MiniLM-L6-cos-v1
environment:
ENABLE_CUDA: '1'
NVIDIA_VISIBLE_DEVICES: 'all'
deploy:
resources:
reservations:
devices:
- capabilities:
- 'gpu'
qna-transformers:
container_name: noizu-weaviate-qna
networks:
- noizu-intellect-net
image: semitechnologies/qna-transformers:distilbert-base-cased-distilled-squad
environment:
ENABLE_CUDA: '1'
NVIDIA_VISIBLE_DEVICES: 'all'
deploy:
resources:
reservations:
devices:
- capabilities:
- 'gpu'
ner-transformers:
container_name: noizu-weaviate-ner
networks:
- noizu-intellect-net
image: semitechnologies/ner-transformers:dbmdz-bert-large-cased-finetuned-conll03-english
environment:
ENABLE_CUDA: '1'
NVIDIA_VISIBLE_DEVICES: 'all'
deploy:
resources:
reservations:
devices:
- capabilities:
- 'gpu'
sum-transformers:
container_name: noizu-weaviate-sum
networks:
- noizu-intellect-net
image: semitechnologies/sum-transformers:facebook-bart-large-cnn-1.0.0
environment:
ENABLE_CUDA: '1'
NVIDIA_VISIBLE_DEVICES: 'all'
deploy:
resources:
reservations:
devices:
- capabilities:
- 'gpu'
i2v-neural:
container_name: noizu-weaviate-i2v
networks:
- noizu-intellect-net
image: semitechnologies/img2vec-pytorch:resnet50
environment:
ENABLE_CUDA: '1'
NVIDIA_VISIBLE_DEVICES: 'all'
deploy:
resources:
reservations:
devices:
- capabilities:
- 'gpu'