-
Notifications
You must be signed in to change notification settings - Fork 199
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (45 loc) · 1.24 KB
/
docker-compose.yml
File metadata and controls
48 lines (45 loc) · 1.24 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
version: '3.5'
services:
standalone:
container_name: milvus-javasdk-standalone-1
image: milvusdb/milvus:v2.6.9
command: [ "milvus", "run", "standalone" ]
environment:
- COMMON_STORAGETYPE=local
- DEPLOY_MODE=STANDALONE
- ETCD_USE_EMBED=true
- ETCD_DATA_DIR=/var/lib/milvus/etcd
volumes:
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/milvus-1:/var/lib/milvus
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:9091/healthz" ]
interval: 30s
start_period: 90s
timeout: 20s
retries: 3
ports:
- "19530:19530"
- "9091:9091"
standaloneslave:
container_name: milvus-javasdk-standalone-2
image: milvusdb/milvus:v2.6.9
command: [ "milvus", "run", "standalone" ]
environment:
- COMMON_STORAGETYPE=local
- DEPLOY_MODE=STANDALONE
- ETCD_USE_EMBED=true
- ETCD_DATA_DIR=/var/lib/milvus/etcd
volumes:
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/milvus-2:/var/lib/milvus
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:9091/healthz" ]
interval: 30s
start_period: 90s
timeout: 20s
retries: 3
ports:
- "19531:19530"
- "9092:9091"
networks:
default:
name: test-milvus