-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
89 lines (80 loc) · 1.79 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
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
87
88
89
volumes:
postgresqlvolume:
services:
database:
image: postgres:15
volumes:
- postgresqlvolume:/var/lib/postgresql/data
environment:
POSTGRES_DB: ovatify
POSTGRES_USER: postgres
POSTGRES_PASSWORD: Test123.
ports:
- "5432:5432"
auth_service:
build:
context: ./backend/microservices/auth-service
dockerfile: Dockerfile
ports:
- "6001:8000"
depends_on:
- database
env_file:
- ./backend/microservices/auth-service/.env.local
recommendation_service:
build:
context: ./backend/microservices/recommendation-service
dockerfile: Dockerfile
ports:
- "6002:8000"
depends_on:
- database
env_file:
- ./backend/microservices/recommendation-service/.env.local
user_service:
build:
context: ./backend/microservices/user-service
dockerfile: Dockerfile
ports:
- "6003:8000"
depends_on:
- database
env_file:
- ./backend/microservices/user-service/.env.local
mono_service:
build:
context: ./backend/microservices/mono-service
dockerfile: Dockerfile
ports:
- "6004:8000"
depends_on:
- database
env_file:
- ./backend/microservices/mono-service/.env.local
api_gateway:
build:
context: ./backend/api-gateway
dockerfile: Dockerfile
ports:
- "8000:80"
depends_on:
- auth_service
- recommendation_service
- user_service
- mono_service
frontend:
build:
context: ./frontend/ovatify-frontend
dockerfile: Dockerfile
ports:
- "5000:80"
depends_on:
- api_gateway
load_generator:
build:
context: ./load-generator
dockerfile: Dockerfile
ports:
- "7000:8089"
depends_on:
- frontend