-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yaml
157 lines (147 loc) · 3.94 KB
/
docker-compose-dev.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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
version: "3"
services:
admin-service:
build:
context: .
dockerfile: dockerfiles/services/admin-service-dev.dockerfile
ports:
- 8001:80
volumes:
- ./core:/app/core
- /app/core/node_modules
- ./services/admin-service:/app/services/admin-service
- /app/services/admin-service/node_modules
environment:
KUBYEMEK_ENV: dev-compose
customer-service:
build:
context: .
dockerfile: dockerfiles/services/customer-service-dev.dockerfile
ports:
- 8002:80
volumes:
- ./core:/app/core
- /app/core/node_modules
- ./services/customer-service:/app/services/customer-service
- /app/services/customer-service/node_modules
environment:
KUBYEMEK_ENV: dev-compose
notification-service:
build:
context: .
dockerfile: dockerfiles/services/notification-service-dev.dockerfile
ports:
- 8004:80
volumes:
- ./core:/app/core
- /app/core/node_modules
- ./services/notification-service:/app/services/notification-service
- /app/services/notification-service/node_modules
environment:
KUBYEMEK_ENV: dev-compose
order-service:
build:
context: .
dockerfile: dockerfiles/services/order-service-dev.dockerfile
ports:
- 8005:80
volumes:
- ./core:/app/core
- /app/core/node_modules
- ./services/order-service:/app/services/order-service
- /app/services/order-service/node_modules
environment:
KUBYEMEK_ENV: dev-compose
product-service:
build:
context: .
dockerfile: dockerfiles/services/product-service-dev.dockerfile
ports:
- 8007:80
volumes:
- ./core:/app/core
- /app/core/node_modules
- ./services/product-service:/app/services/product-service
- /app/services/product-service/node_modules
environment:
KUBYEMEK_ENV: dev-compose
auth-api:
build:
context: .
dockerfile: dockerfiles/apis/auth-api-dev.dockerfile
ports:
- 8081:80
volumes:
- ./core:/app/core
- /app/core/node_modules
- ./apis/auth-api:/app/apis/auth-api
- /app/apis/auth-api/node_modules
environment:
KUBYEMEK_ENV: dev-compose
depends_on:
- admin-service
- customer-service
admin-api:
build:
context: .
dockerfile: dockerfiles/apis/admin-api-dev.dockerfile
ports:
- 8082:80
volumes:
- ./core:/app/core
- /app/core/node_modules
- ./apis/admin-api:/app/apis/admin-api
- /app/apis/admin-api/node_modules
environment:
KUBYEMEK_ENV: dev-compose
depends_on:
- admin-service
customer-api:
build:
context: .
dockerfile: dockerfiles/apis/customer-api-dev.dockerfile
ports:
- 8083:80
volumes:
- ./core:/app/core
- /app/core/node_modules
- ./apis/customer-api:/app/apis/customer-api
- /app/apis/customer-api/node_modules
environment:
KUBYEMEK_ENV: dev-compose
depends_on:
- customer-service
admin-frontend:
build:
context: .
dockerfile: dockerfiles/frontends/admin-frontend-dev.dockerfile
ports:
- 3001:3000
volumes:
- ./core:/app/core
- /app/core/node_modules
- ./frontends/admin-frontend:/app/frontends/admin-frontend
- /app/frontends/admin-frontend/node_modules
- /app/frontends/admin-frontend/.next
environment:
KUBYEMEK_ENV: dev-compose
depends_on:
- auth-api
- admin-api
customer-frontend:
build:
context: .
dockerfile: dockerfiles/frontends/customer-frontend-dev.dockerfile
ports:
- 3002:3000
volumes:
- ./core:/app/core
- /app/core/node_modules
- ./frontends/customer-frontend:/app/frontends/customer-frontend
- /app/frontends/customer-frontend/node_modules
- /app/frontends/customer-frontend/.next
environment:
KUBYEMEK_ENV: dev-compose
depends_on:
- auth-api
- customer-api