-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
71 lines (70 loc) · 1.89 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
version: "3.8"
services:
alvd-server:
image: ghcr.io/rinx/alvd:noavx
# image: ghcr.io/rinx/alvd:avx2
container_name: alvd-server
command:
- "server"
- "--agent=false"
- "--replicas=2"
- "--dimension=784"
- "--distance-type=l2"
- "--object-type=float"
# - "--check-index-interval=1m"
# - "--create-index-threshold=3000"
ports:
- "8080:8080"
- "9090:9090"
alvd-agent-1:
image: ghcr.io/rinx/alvd:noavx
container_name: alvd-agent-1
command:
- "agent"
- "--server=alvd-server:8000"
- "--dimension=784"
- "--distance-type=l2"
- "--object-type=float"
ports:
- "9091:9090"
alvd-agent-2:
image: ghcr.io/rinx/alvd:noavx
container_name: alvd-agent-2
command:
- "agent"
- "--server=alvd-server:8000"
- "--dimension=784"
- "--distance-type=l2"
- "--object-type=float"
ports:
- "9092:9090"
alvd-agent-3:
image: ghcr.io/rinx/alvd:noavx
container_name: alvd-agent-3
command:
- "agent"
- "--server=alvd-server:8000"
- "--dimension=784"
- "--distance-type=l2"
- "--object-type=float"
ports:
- "9093:9090"
## to enable metrics dashboard, please uncomment these services.
# prometheus:
# image: prom/prometheus
# container_name: prometheus
# command:
# - "--config.file=/etc/prometheus/prometheus.yaml"
# volumes:
# - "./examples/monitoring/prometheus:/etc/prometheus"
# grafana:
# image: grafana/grafana
# container_name: grafana
# ports:
# - "3000:3000"
# environment:
# - "GF_SECURITY_ADMIN_USER=admin"
# - "GF_SECURITY_ADMIN_PASSWORD=grafana"
# volumes:
# - "./examples/monitoring/grafana/datasources:/etc/grafana/provisioning/datasources"
# - "./examples/monitoring/grafana/dashboards:/etc/grafana/provisioning/dashboards"