-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
86 lines (80 loc) · 2.77 KB
/
docker-compose.yaml
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.8"
services:
ai-image-classifier:
networks:
- diploma-network
image: ekedani/ai-image-classifier:0.2
users:
networks:
- diploma-network
image: ekedani/dp-users:latest
environment:
JWT_PUBLIC_KEY_BASE64: ${JWT_PUBLIC_KEY_BASE64}
JWT_PRIVATE_KEY_BASE64: ${JWT_PRIVATE_KEY_BASE64}
USERS_DB_HOST: ${USERS_DB_HOST}
USERS_DB_PORT: ${USERS_DB_PORT}
USERS_DB_USERNAME: ${USERS_DB_USERNAME}
USERS_DB_PASSWORD: ${USERS_DB_PASSWORD}
USERS_DB_NAME: ${USERS_DB_NAME}
postprocessing:
networks:
- diploma-network
image: ekedani/dp-postprocessing:0.1
environment:
CONTENT_DB_URI: ${CONTENT_DB_URI}
GOOGLE_VISION_API_KEY: ${GOOGLE_VISION_API_KEY}
MINIO_ENDPOINT: ${MINIO_ENDPOINT}
MINIO_PORT: ${MINIO_PORT}
MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY}
MINIO_SECRET_KEY: ${MINIO_SECRET_KEY}
content:
networks:
- diploma-network
image: ekedani/dp-content:0.10
environment:
JWT_PUBLIC_KEY_BASE64: ${JWT_PUBLIC_KEY_BASE64}
CONTENT_DB_URI: ${CONTENT_DB_URI}
MINIO_ENDPOINT: ${MINIO_ENDPOINT}
MINIO_PORT: ${MINIO_PORT}
MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY}
MINIO_SECRET_KEY: ${MINIO_SECRET_KEY}
AI_IMAGE_CLASSIFIER_SERVICE_URL: http://ai-image-classifier:5000
POSTPROCESSING_SERVICE_URL: http://postprocessing:5000
USERS_SERVICE_URL: http://users:3000
depends_on:
- users
- postprocessing
- ai-image-classifier
aggregation:
networks:
- diploma-network
image: ekedani/dp-aggregation:0.7
environment:
JWT_PUBLIC_KEY_BASE64: ${JWT_PUBLIC_KEY_BASE64}
STAGING_DB_URI: ${STAGING_DB_URI}
USERS_SERVICE_URL: http://users:3000
CONTENT_SERVICE_URL: http://content:3000
depends_on:
- users
- content
gateway:
networks:
- diploma-network
image: ekedani/dp-gateway:0.3
ports:
- "80:3000"
environment:
JWT_PUBLIC_KEY_BASE64: ${JWT_PUBLIC_KEY_BASE64}
USERS_SERVICE_URL: http://users:3000
CONTENT_SERVICE_URL: http://content:3000
AGGREGATION_SERVICE_URL: http://aggregation:3000
AI_IMAGE_CLASSIFIER_SERVICE_URL: http://ai-image-classifier:5000
depends_on:
- users
- postprocessing
- content
- aggregation
- ai-image-classifier
networks:
diploma-network:
external: true