File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
engine/servers/qdrant-cluster-mode Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
version : " 3.7"
2
2
3
3
services :
4
- qdrant_node_1 :
4
+ qdrant-node-0 :
5
5
image : qdrant/qdrant:v1.7.3
6
6
environment :
7
7
- QDRANT__SERVICE__GRPC_PORT=6334
@@ -10,43 +10,43 @@ services:
10
10
ports :
11
11
- " 6333:6333"
12
12
- " 6334:6334"
13
- command : ./qdrant --uri 'http://qdrant_node_1 :6335'
13
+ command : ./qdrant --uri 'http://qdrant-node-0 :6335'
14
14
# deploy:
15
15
# resources:
16
16
# limits:
17
17
# cpus: '0.07'
18
18
19
19
20
- qdrant_node_follower :
20
+ qdrant-node-1 :
21
21
image : qdrant/qdrant:v1.7.3
22
22
environment :
23
23
- QDRANT__SERVICE__GRPC_PORT=6334
24
24
- QDRANT__CLUSTER__ENABLED=true
25
25
- QDRANT__CLUSTER__P2P__PORT=6335
26
26
depends_on :
27
- - qdrant_node_1
27
+ - qdrant-node-0
28
28
ports :
29
29
- " 6433:6333"
30
30
- " 6434:6334"
31
- command : bash -c "sleep 5 && ./qdrant --bootstrap 'http://qdrant_node_1 :6335' --uri 'http://qdrant_node_follower :6335'"
31
+ command : bash -c "sleep 5 && ./qdrant --bootstrap 'http://qdrant-node-0 :6335' --uri 'http://qdrant-node-1 :6335'"
32
32
# deploy:
33
33
# resources:
34
34
# limits:
35
35
# cpus: '0.05'
36
36
37
37
38
- qdrant_node_follower_2 :
38
+ qdrant-node-2 :
39
39
image : qdrant/qdrant:v1.7.3
40
40
environment :
41
41
- QDRANT__SERVICE__GRPC_PORT=6334
42
42
- QDRANT__CLUSTER__ENABLED=true
43
43
- QDRANT__CLUSTER__P2P__PORT=6335
44
44
depends_on :
45
- - qdrant_node_1
45
+ - qdrant-node-0
46
46
ports :
47
47
- " 6533:6333"
48
48
- " 6534:6334"
49
- command : bash -c "sleep 6 && ./qdrant --bootstrap 'http://qdrant_node_1 :6335' --uri 'http://qdrant_node_follower_2 :6335'"
49
+ command : bash -c "sleep 6 && ./qdrant --bootstrap 'http://qdrant-node-0 :6335' --uri 'http://qdrant-node-2 :6335'"
50
50
# deploy:
51
51
# resources:
52
52
# limits:
You can’t perform that action at this time.
0 commit comments