forked from zilliztech/phantoscope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (49 loc) · 1.11 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
version: '3'
services:
api:
image: phantoscope/api-server:v0.1.0
ports:
- "5000:5000"
environment:
- MINIO_ADDR=${LOCAL_ADDRESS}:9000
- UPLOAD_FOLDER=/tmp
- MILVUS_ADDR=milvus
- SEARCH_IMAGES_DATABASE_EP=mysql://root:passwd@mysql:3306/search
- SEARCH_IMAGES_DATABASE_USERNAME=root
- SEARCH_IMAGES_DATABASE_PASSWD=passwd
- MILVUS_PORT=19530
- MINIO_BUCKET_NUM=20
depends_on:
- milvus
- minio
- mysql
mysql:
image: mysql:5.6
environment:
- MYSQL_ROOT_PASSWORD=passwd
ports:
- "3306:3306"
volumes:
- /mnt/om/mysql:/var/lib/mysql
milvus:
image: milvusdb/milvus:0.7.0-cpu-d031120-de409b
ports:
- "19530:19530"
- "8080:8080"
volumes:
- /mnt/om/milvus/db:/var/lib/milvus/db
minio:
image: minio/minio:latest
ports:
- "9000:9000"
volumes:
- /mnt/om/minio/data:/data
command: ["server","/data"]
vgg:
image: psoperator/vgg16:latest
ports:
- "50001:50001"
environment:
- OP_ENDPOINT=${LOCAL_ADDRESS}:50001
depends_on:
- api