forked from techwithtim/PythonAgentAI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (27 loc) · 940 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (27 loc) · 940 Bytes
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
version: '3.4'
services:
weaviate:
image: semitechnologies/weaviate:latest
restart: unless-stopped
ports:
- "8080:8080"
- "50051:50051"
environment:
# Standard settings
GRPC_ENABLED: 'true'
QUERY_DEFAULTS_LIMIT: 20
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: "/var/lib/weaviate"
CLUSTER_HOSTNAME: "node1"
# Enable the text2vec-transformers module
ENABLE_MODULES: "text2vec-transformers"
DEFAULT_VECTORIZER_MODULE: "text2vec-transformers"
TRANSFORMERS_INFERENCE_API: "http://t2v-transformers:8080"
t2v-transformers:
image: semitechnologies/transformers-inference:sentence-transformers-multi-qa-MiniLM-L6-cos-v1
restart: unless-stopped
environment:
# Set to "1" if you have a GPU with CUDA support; otherwise "0"
ENABLE_CUDA: "0"
# OPENBLAS_NUM_THREADS: "1"
# OMP_NUM_THREADS: "1"