-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
81 lines (74 loc) · 1.54 KB
/
docker-compose.yml
File metadata and controls
81 lines (74 loc) · 1.54 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
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
name: emma-olearn
services:
# Azurite (Fake Azure Storage Service)
azurite:
image: mcr.microsoft.com/azure-storage/azurite
hostname: azurite
restart: always
command: "azurite --blobHost 0.0.0.0 --blobPort 10000 --queueHost 0.0.0.0 --queuePort 10001"
ports:
- "10000:10000"
- "10001:10001"
#- "10002:10002"
networks:
- olearn
# One-time data population
populate:
image: kamk/azurite-populate
env_file:
- .env
build:
context: ./src/azurite_populate
dockerfile: Dockerfile
networks:
- olearn
depends_on:
- azurite
# Streamlit front-end
front:
image: kamk/flowerui
env_file:
- .env
hostname: flowerui
build:
context: ./src/flowerui
dockerfile: Dockerfile
ports:
- "8000:80"
networks:
- olearn
depends_on:
populate:
condition: service_completed_successfully
# Backend
back:
image: kamk/flowerpredict
env_file:
- .env
hostname: flowerpredict
build:
context: ./src/flowerpredict
dockerfile: Dockerfile
ports:
- "8888:8888"
networks:
- olearn
depends_on:
populate:
condition: service_completed_successfully
# ML Model service
modeller:
image: kamk/modeller
env_file:
- .env
hostname: modeller
build:
context: ./src/modeller
dockerfile: Dockerfile
networks:
- olearn
depends_on:
populate:
condition: service_completed_successfully
networks:
olearn: