-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
55 lines (50 loc) · 1.42 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
version: "3.7"
services:
# This redis is setup without auth
# this is just for local testing
deblurring-redis:
image: redis:latest
ports:
- 7001:6379
container_name: deblurring-redis
deblurring-database:
image: postgres:latest
environment:
POSTGRES_USER: ${DB_USER}
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_DB: deblurrer
ports:
- 6543:5432
container_name: deblurring-database
deblurring-serving:
environment:
- MODEL_NAME=deblurrer
- PORT=8501
build: ./serving
image: deblurring-serving:latest
ports:
- 8501:8501
container_name: deblurring-serving
deblurring-backend:
build: ./backend
image: deblurring-backend:latest
ports:
- 8000:8000
volumes:
- ./backend:/deep-deblurring-backend
depends_on:
- deblurring-database
- deblurring-redis
- deblurring-serving
container_name: deblurring-backend
deblurring-frontend:
build: ./frontend
image: deblurring-frontend:latest
ports:
- 8081:8080
volumes:
- ./frontend:/deep-deblurring-frontend
depends_on:
- deblurring-backend
- deblurring-serving
container_name: deblurring-frontend