-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose.yml
86 lines (84 loc) · 2.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: '3.7'
services:
fastapi-app:
image: lipstick-db-fastapi:latest
restart: always
ports:
- 8000:9000
depends_on:
- flow-service
- minio-service
environment:
- JINA_HOST=grpc://flow-service:8888
- S3_ENDPOINT_URL=http://minio-service:9000
- S3_ACCESS_KEY_ID=minio
- S3_SECRET_ACCESS_KEY=minio123
- S3_REGION=local
- S3_BUCKET_NAME=lipstick-db
flow-service:
image: lipstick-db-jina:latest
restart: always
ports:
- 8888:8888
command: make jina-app
environment:
- JINA_LOG_LEVEL=DEBUG
depends_on:
- face-mesher
- s3-downloader
- lip-skin-color-embedder
- matcher
s3-downloader:
image: lipstick-db-jina:latest
restart: always
ports:
- 8887:8887
command: jina executor --uses s3_downloader.yml --port 8887
environment:
- JINA_LOG_LEVEL=DEBUG
- S3_ENDPOINT_URL=http://minio-service:9000
- S3_ACCESS_KEY_ID=minio
- S3_SECRET_ACCESS_KEY=minio123
- S3_REGION=local
- S3_BUCKET_NAME=lipstick-db
depends_on:
- minio-service
face-mesher:
image: lipstick-db-jina:latest
restart: always
ports:
- 8886:8886
command: jina executor --uses face_mesher.yml --port 8886
environment:
- JINA_LOG_LEVEL=DEBUG
lip-skin-color-embedder:
image: lipstick-db-jina:latest
restart: always
ports:
- 8885:8885
command: jina executor --uses lip_skin_color_embedder.yml --port 8885
environment:
- JINA_LOG_LEVEL=DEBUG
matcher:
image: lipstick-db-jina:latest
restart: always
ports:
- 8884:8884
command: jina executor --uses matcher.yml --port 8884
environment:
- JINA_LOG_LEVEL=DEBUG
minio-service:
restart: unless-stopped
image: minio/minio:RELEASE.2021-11-09T03-21-45Z
ports:
- '9000:9000'
- '9001:9001'
command: 'server /data --console-address ":9001"'
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
volumes:
- minio-data:/data
volumes:
minio-data:
driver: local