-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
66 lines (60 loc) · 1.58 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
version: '3.9'
services:
qdrant_node1:
image: qdrant/qdrant:v1.8.3
container_name: qdrant_node1
volumes:
- ./data/node1:/qdrant/storage
ports:
- "6333:6333"
environment:
QDRANT__CLUSTER__ENABLED: "true"
command: "./qdrant --uri http://qdrant_node1:6335"
qdrant_node2:
image: qdrant/qdrant:v1.8.3
container_name: qdrant_node2
volumes:
- ./data/node2:/qdrant/storage
depends_on:
- qdrant_node1
environment:
QDRANT__CLUSTER__ENABLED: "true"
command: "./qdrant --bootstrap http://qdrant_node1:6335 --uri http://qdrant_node2:6335"
qdrant_node3:
image: qdrant/qdrant:v1.8.3
container_name: qdrant_node3
volumes:
- ./data/node3:/qdrant/storage
depends_on:
- qdrant_node1
environment:
QDRANT__CLUSTER__ENABLED: "true"
command: "./qdrant --bootstrap http://qdrant_node1:6335 --uri http://qdrant_node3:6335"
prometheus:
image: prom/prometheus:v2.35.0
container_name: prometheus
depends_on:
- qdrant_node1
- qdrant_node2
- qdrant_node3
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
command:
- '--config.file=/etc/prometheus/prometheus.yml'
grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- "3000:3000"
environment:
GF_SECURITY_ADMIN_USER: 'admin'
GF_SECURITY_ADMIN_PASSWORD: 'admin'
GF_USERS_ALLOW_SIGN_UP: 'true'
volumes:
- grafana-data:/var/lib/grafana
depends_on:
- prometheus
volumes:
grafana-data: {}