forked from weaviate/weaviate-benchmarking
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (52 loc) · 1.27 KB
/
Copy pathdocker-compose.yml
File metadata and controls
52 lines (52 loc) · 1.27 KB
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
---
version: '3.4'
services:
benchmarker:
build:
context: ./benchmarker
dockerfile: Dockerfile
command: >
/app/benchmarker ann-benchmark
--vectors ${DATASET:-./datasets/dbpedia-100k-openai-ada002-angular.hdf5 }
--distance ${DISTANCE:-cosine}
--grpcOrigin ${GRPC_ORIGIN:-weaviate:50051}
--httpOrigin ${HTTP_ORIGIN:-weaviate:8080}
volumes:
- $PWD/datasets:/app/datasets
- $PWD/results:/app/results
metrics-exporter:
build:
context: ./metrics-exporter
dockerfile: Dockerfile
ports:
- 2120:2120
volumes:
- $PWD/results:/data
depends_on:
- benchmarker
restart: on-failure
weaviate:
command:
- --host
- 0.0.0.0
- --port
- '8080'
- --scheme
- http
image: docker.io/semitechnologies/weaviate:1.29.0
ports:
- 8080:8080
- 50051:50051
- 2112:2112
restart: on-failure:0
volumes:
- "$PWD/weaviate-data:/var/lib/weaviate"
environment:
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
DEFAULT_VECTORIZER_MODULE: 'none'
PROMETHEUS_MONITORING_ENABLED: 'true'
ENABLE_MODULES: ''
CLUSTER_HOSTNAME: 'benchmark_node'
...