-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
75 lines (64 loc) · 1.5 KB
/
docker-compose.yaml
File metadata and controls
75 lines (64 loc) · 1.5 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
version: "3"
services:
ncf_model:
container_name: NCF_model
build:
context: ./recomendation_workers/NCF
command: uvicorn api:app --host 0.0.0.0 --port 8008 --reload
volumes:
- ./recomendation_workers/NCF:C:\code_NCF
ports:
- 8008:8008
bivae_model:
container_name: BiVAE_model
build:
context: ./recomendation_workers/BiVAE
command: uvicorn api:app --host 0.0.0.0 --port 8009 --reload
volumes:
- ./recomendation_workers/BiVAE:C:\code_BiVAE
ports:
- 8009:8009
wnd_model:
container_name: WandD_model
build:
context: ./recomendation_workers/W&D
command: uvicorn api:app --host 0.0.0.0 --port 8007 --reload
volumes:
- ./recomendation_workers/W&D:C:\code_WandD
ports:
- 8007:8007
db:
image: mysql
container_name: db_mysql
ports:
- '3306:3333'
environment:
MYSQL_DATABASE: 'db_django'
MYSQL_PASSWORD: 'password'
MYSQL_ROOT_PASSWORD: 'password'
MYSQL_HOST: ''
volumes:
- ./db_django:/var/lib/mysql
backend:
build:
context: ./backend
container_name: backend
ports:
- "8000:8000"
volumes:
- ./backend:C:\backend
command: python manage.py runserver 0.0.0.0:8000
depends_on:
- db
# frontend:
# container_name: frontend
# ports:
# - "5173:5173"
# command: ['npm','run', 'dev']
# build:
# context: ./frontend/movie-frontend
# depends_on:
# - backend
volumes:
db:
driver: local