-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
56 lines (56 loc) · 1.46 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
version: '3'
services:
gateway:
build: services/gateway
ports:
- "8000:8000"
command: flask run --host 0.0.0.0 --port 8000
volumes:
- ./services/gateway/app:/gateway/app
- ./services/gateway/requirements.txt:/gateway/requirements.txt
environment:
FLASK_DEBUG: 1
env_file:
- "services/gateway/.env"
auth:
build: services/auth
ports:
- "4000:4000"
command: flask run --host 0.0.0.0 --port 4000
volumes:
- ./services/auth/app:/auth/app
- ./services/auth/data:/auth/data
- ./services/auth/requirements.txt:/auth/requirements.txt
environment:
FLASK_DEBUG: 1
env_file:
- "services/auth/.env"
registry:
build: services/registry
ports:
- "5000:5000"
command: flask run --host 0.0.0.0 --port 5000
volumes:
- ./services/registry/app:/registry/app
- ./services/registry/requirements.txt:/registry/requirements.txt
environment:
FLASK_DEBUG: 1
env_file:
- "services/registry/.env"
inference:
build: services/inference
ports:
- "3000:3000"
command: flask run --host 0.0.0.0 --port 3000
volumes:
- ./services/inference/app:/inference/app
- ./services/inference/requirements.txt:/inference/requirements.txt
environment:
MODEL_ID: 64060f8e547d5d27345c87cc
FLASK_DEBUG: 1
env_file:
- "services/inference/.env"
redis:
image: redis:latest
ports:
- "6379:6379"