-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathdocker-compose.yml
57 lines (57 loc) · 1.08 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
version: '3'
services:
demo:
image: milvus.io/search-video-demo:v1
ports:
- "8001:80"
networks:
- app
depends_on:
- api
api:
image: milvus.io/search-video-api:v1
ports:
- "5002:5000"
environment:
- MINIO_ADDR=192.168.1.38:9000
- UPLOAD_FOLDER=/tmp
- MILVUS_ADDR=192.168.1.38
- VIDEO_REDIS_ADDR=192.168.1.38
- MILVUS_PORT=19530
- MINIO_BUCKET_NUM=20
networks:
- app
depends_on:
- redis
- milvus
- minio
redis:
image: redis:latest
ports:
- "6379:6379"
volumes:
- /mnt/redis/data:/data
command: redis-server --appendonly yes
networks:
- app
milvus:
image: milvusdb/milvus:0.7.1-cpu-d040120-d2fad1
ports:
- "19530:19530"
- "8080:8080"
volumes:
- /mnt/milvus/db:/var/lib/milvus/db
networks:
- app
minio:
image: minio/minio:latest
ports:
- "9000:9000"
volumes:
- /mnt/minio/data:/data
command: ["server","/data"]
networks:
- app
networks:
app:
driver: bridge